diff options
author | redmatrix <git@macgirvin.com> | 2016-04-03 17:38:17 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-03 17:38:17 -0700 |
commit | a703835b5cdbe737be98374a51363426083fee8f (patch) | |
tree | 9c561d2add476833c6ea4147ecf69518cad9003e /index.php | |
parent | bf3f3564e08754c3f91524798523839ae7b9094c (diff) | |
download | volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.gz volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.bz2 volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.zip |
Bug: "remember me" doesn't
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -84,6 +84,11 @@ if(! App::$install) { * */ +/* session_set_cookie_params() needs to happen before session_start() */ + +if($_POST['remember_me']) + session_set_cookie_params(31556926); + session_start(); /** |