mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
Merge tag 'login' into dev-master
v1.6.2
This commit is contained in:
commit
7a3ea9d060
@ -26,7 +26,7 @@ class LoginController extends Controller
|
|||||||
{
|
{
|
||||||
$app = $this->getApp();
|
$app = $this->getApp();
|
||||||
|
|
||||||
if (false === $app['settings']['enable_registration']) {
|
if (false === $app['settings']['security']['enable_registration']) {
|
||||||
return new Response('', 403);
|
return new Response('', 403);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ class LoginController extends Controller
|
|||||||
{
|
{
|
||||||
$app = $this->getApp();
|
$app = $this->getApp();
|
||||||
|
|
||||||
if (false === $app['settings']['enable_login']) {
|
if (false === $app['settings']['security']['enable_login']) {
|
||||||
return new Response('', 403);
|
return new Response('', 403);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user