From 00b9508d8178bae016b2a25a81282dbe9ae0a9d2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 Feb 2015 23:28:17 -0500 Subject: Be able to disable the login form for specific users --- app/Controller/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/User.php b/app/Controller/User.php index 3d44f226..91141241 100644 --- a/app/Controller/User.php +++ b/app/Controller/User.php @@ -341,7 +341,7 @@ class User extends Base if ($this->request->isPost()) { - $values = $this->request->getValues(); + $values = $this->request->getValues() + array('disable_login_form' => 0); if ($this->userSession->isAdmin()) { $values += array('is_admin' => 0); -- cgit v1.2.3