diff options
author | Andrew Dolgov <[email protected]> | 2012-08-16 18:21:35 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-16 18:21:35 +0400 |
commit | d5fd183d18bf3cf3bf7bba50dc004b85246e0b6a (patch) | |
tree | 6e5df34726f8ee12a4f6fa62827690f137d29ab8 /include | |
parent | 200e0d4ebbd98da452c3eb120cb55b155764f614 (diff) |
move changing password code to authentication modules
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index a2e164416..702843c16 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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)); } |