From e5f6e364f184eaa535c6b29cbafe3418ea83d53f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 3 Apr 2015 14:40:00 -0400 Subject: Improve and fix issues with 2FA --- app/Controller/Twofactor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/Twofactor.php b/app/Controller/Twofactor.php index 48954dc8..e3451d33 100644 --- a/app/Controller/Twofactor.php +++ b/app/Controller/Twofactor.php @@ -73,7 +73,7 @@ class Twofactor extends User } // Allow the user to test or disable the feature - $this->session['user']['twofactor_activated'] = false; + $_SESSION['user']['twofactor_activated'] = false; $this->session->flash(t('User updated successfully.')); $this->response->redirect($this->helper->url('twofactor', 'index', array('user_id' => $user['id']))); -- cgit v1.2.3