1
0
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:
Andrew Dolgov
2012-08-16 18:21:35 +04:00
parent 200e0d4ebb
commit d5fd183d18
3 changed files with 57 additions and 35 deletions

View File

@@ -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));
}