diff options
author | zotlabs <mike@macgirvin.com> | 2017-02-08 11:24:21 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-02-08 11:24:21 -0800 |
commit | 28f083323750e3083c5ba07f685d30b44e1d2482 (patch) | |
tree | 23fc156fd8191346b25f365d6baa5519afeabaa5 /include | |
parent | 6ceaea8478a08e8f2a5fc10f085a99331cbef36f (diff) | |
download | volse-hubzilla-28f083323750e3083c5ba07f685d30b44e1d2482.tar.gz volse-hubzilla-28f083323750e3083c5ba07f685d30b44e1d2482.tar.bz2 volse-hubzilla-28f083323750e3083c5ba07f685d30b44e1d2482.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index fdcecec36..c7be69583 100644 --- a/include/auth.php +++ b/include/auth.php @@ -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 } |