mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Only remove the "remember me" cookie at submitting the auth form
Fixes loss of remember (Friendica) cookie on switching Managed accounts
This commit is contained in:
parent
df6304cc42
commit
cbaf196f50
2 changed files with 4 additions and 3 deletions
|
@ -141,9 +141,6 @@ function authenticate_success($user_record, $login_initial = false, $interactive
|
|||
new_cookie(604800, $user_record);
|
||||
unset($_SESSION['remember']);
|
||||
}
|
||||
else {
|
||||
new_cookie(0); // 0 means delete on browser exit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue