Force "Remember Me" at login to permanently be checked
Permalink
Hi everyone. Due to Internet Explorer being a brat and often not allowing my users to log in due to not saving the required cookies, I have found that as long as the "Remember Me" checkbox is selected, IE usually ends up allowing login.
I want to code it so that there is no checkbox at all and the process that happens when it would be checked (uMaintainLogin or whatever it is) happens automatically behind the scenes.
My guess is it is just a couple of lines of code to change, but I haven't been able to make it work on my own.
Thanks much,
Kari
I want to code it so that there is no checkbox at all and the process that happens when it would be checked (uMaintainLogin or whatever it is) happens automatically behind the scenes.
My guess is it is just a couple of lines of code to change, but I haven't been able to make it work on my own.
Thanks much,
Kari
Apparently this problem is still present in Concrete 5.6.3.1.
Internet Explorer sometimes just fails to login, but not very consistently. No error is displayed, but the user is just not logged in.
I even noticed the problem on Concrete5.org. Firefox is perfectly fine, though.
Checking the checkbox solves the problem, it seems. Thus, I will leave it checked by default for now. (Indeed with overriding login.php, modifying this:
to:
Internet Explorer sometimes just fails to login, but not very consistently. No error is displayed, but the user is just not logged in.
I even noticed the problem on Concrete5.org. Firefox is perfectly fine, though.
Checking the checkbox solves the problem, it seems. Thus, I will leave it checked by default for now. (Indeed with overriding login.php, modifying this:
to:
You can then modify the version you copied into /single_pages/ to make the changes you require. Personally, I would force it to be checked on load, rather than forcing it all the time. That setting is there for a reason, shared computers etc ...
Let me know how it goes.