Fix login issue

This commit is contained in:
Simon Vieille 2017-06-20 16:46:10 +02:00
parent c46cf0fdb7
commit 50025705d1

View file

@ -26,7 +26,7 @@ class LoginController extends Controller
{
$app = $this->getApp();
if (false === $app['settings']['enable_registration']) {
if (false === $app['settings']['security']['enable_registration']) {
return new Response('', 403);
}
@ -78,7 +78,7 @@ class LoginController extends Controller
{
$app = $this->getApp();
if (false === $app['settings']['enable_login']) {
if (false === $app['settings']['security']['enable_login']) {
return new Response('', 403);
}