From bfd59d9e544028a1ea041806fd60e112f3a90167 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 18 May 2016 21:27:36 -0400 Subject: Reset failed login counter and unlock user when changing password --- app/ServiceProvider/AuthenticationProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/ServiceProvider/AuthenticationProvider.php') diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php index 193929c7..1ac4656c 100644 --- a/app/ServiceProvider/AuthenticationProvider.php +++ b/app/ServiceProvider/AuthenticationProvider.php @@ -143,7 +143,7 @@ class AuthenticationProvider implements ServiceProviderInterface $acl->add('UserCreationController', '*', Role::APP_ADMIN); $acl->add('UserListController', '*', Role::APP_ADMIN); $acl->add('UserStatusController', '*', Role::APP_ADMIN); - $acl->add('UserViewController', array('authentication'), Role::APP_ADMIN); + $acl->add('UserCredentialController', array('changeAuthentication', 'saveAuthentication'), Role::APP_ADMIN); return $acl; } -- cgit v1.2.3