diff options
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index 4dfd11751..06c9ebc04 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -350,9 +350,11 @@ class FreshRSS_user_Controller extends Minz_ActionController { // get started immediately. if ($ok && !FreshRSS_Auth::hasAccess('admin')) { $user_conf = get_user_configuration($new_user_name); - Minz_Session::_param('currentUser', $new_user_name); - Minz_Session::_param('passwordHash', $user_conf->passwordHash); - Minz_Session::_param('csrf'); + Minz_Session::_params([ + 'currentUser' => $new_user_name, + 'passwordHash' => $user_conf->passwordHash, + 'csrf' => false, + ]); FreshRSS_Auth::giveAccess(); } |
