fix immediate issue with multiple login forms until I can figure out an elegant way to "popup" the modal login form already on the page. We still may need this fix for the actual login module which should always be callable and present a login form even if the nav is completely borked.
This commit is contained in:
@@ -300,7 +300,7 @@ else {
|
||||
// (i.e. expire when the browser is closed), even when there's a time expiration
|
||||
// on the cookie
|
||||
|
||||
if($_POST['remember_me']) {
|
||||
if(($_POST['remember_me']) || ($_POST['remember'])) {
|
||||
$_SESSION['remember_me'] = 1;
|
||||
App::$session->new_cookie(31449600); // one year
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user