summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-16 18:21:35 +0400
committerAndrew Dolgov <[email protected]>2012-08-16 18:21:35 +0400
commitd5fd183d18bf3cf3bf7bba50dc004b85246e0b6a (patch)
tree6e5df34726f8ee12a4f6fa62827690f137d29ab8 /include/functions.php
parent200e0d4ebbd98da452c3eb120cb55b155764f614 (diff)
move changing password code to authentication modules
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
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));
}