mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 18:41:28 +00:00
move changing password code to authentication modules
This commit is contained in:
@@ -738,6 +738,8 @@
|
||||
$_SESSION["hide_hello"] = true;
|
||||
$_SESSION["hide_logout"] = true;
|
||||
|
||||
$_SESSION["auth_module"] = false;
|
||||
|
||||
if (!$_SESSION["csrf_token"]) {
|
||||
$_SESSION["csrf_token"] = sha1(uniqid(rand(), true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user