summaryrefslogtreecommitdiff
path: root/app/Auth.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-12-05 17:00:45 +0000
committerGreg Roach <fisharebest@gmail.com>2016-12-05 17:00:45 +0000
commite988f9225368bb34d21061d9dcae3a94e7f75cf1 (patch)
tree3c76b2b81099b2f2068f7502e97ec94faba6fd6b /app/Auth.php
parentbfa4946ea56077328f0564b09a91e1c96e82156c (diff)
downloadwebtrees-e988f9225368bb34d21061d9dcae3a94e7f75cf1.tar.gz
webtrees-e988f9225368bb34d21061d9dcae3a94e7f75cf1.tar.bz2
webtrees-e988f9225368bb34d21061d9dcae3a94e7f75cf1.zip
Revert change to session/login. It breaks logins
Diffstat (limited to 'app/Auth.php')
-rw-r--r--app/Auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth.php b/app/Auth.php
index 12d3db2c22..2abe10764e 100644
--- a/app/Auth.php
+++ b/app/Auth.php
@@ -181,7 +181,7 @@ class Auth {
* @param User $user
*/
public static function login(User $user) {
- Session::regenerate(true);
+ Session::regenerate(false);
Session::put('wt_user', $user->getUserId());
}