diff --git a/templates/yuuno/auth/login.twig b/templates/yuuno/auth/login.twig index 79cb356..6fb66dc 100644 --- a/templates/yuuno/auth/login.twig +++ b/templates/yuuno/auth/login.twig @@ -3,7 +3,7 @@ {% block title %}Login{% endblock %} {% block content %} - {% if config('require_activation') %} + {% if config('lock_authentication') %}

Logging in is disabled for security checkups! Try again later.

{% else %}
diff --git a/templates/yuuno/auth/reactivate.twig b/templates/yuuno/auth/reactivate.twig index 5c0bb48..38a0b2b 100644 --- a/templates/yuuno/auth/reactivate.twig +++ b/templates/yuuno/auth/reactivate.twig @@ -3,7 +3,7 @@ {% block title %}Reactivate account{% endblock %} {% block content %} - {% if config('require_activation') %} + {% if config('lock_authentication') %}

Reactivation is disabled for security checkups! Try again later.

{% else %}
diff --git a/templates/yuuno/auth/register.twig b/templates/yuuno/auth/register.twig index 49320f3..42349d8 100644 --- a/templates/yuuno/auth/register.twig +++ b/templates/yuuno/auth/register.twig @@ -3,7 +3,7 @@ {% block title %}Register{% endblock %} {% block content %} - {% if config('require_activation') or config('disable_registration') %} + {% if config('lock_authentication') or config('disable_registration') %}
diff --git a/templates/yuuno/auth/resetpassword.twig b/templates/yuuno/auth/resetpassword.twig index 4755f5a..fd4196f 100644 --- a/templates/yuuno/auth/resetpassword.twig +++ b/templates/yuuno/auth/resetpassword.twig @@ -3,7 +3,7 @@ {% block title %}Reset Password{% endblock %} {% block content %} - {% if config('require_activation') %} + {% if config('lock_authentication') %}

Resetting password is disabled because of security checkups!

{% else %}
diff --git a/templates/yuuno/elements/indexPanel.twig b/templates/yuuno/elements/indexPanel.twig index 92d7351..d4f8676 100644 --- a/templates/yuuno/elements/indexPanel.twig +++ b/templates/yuuno/elements/indexPanel.twig @@ -11,7 +11,7 @@
{% else %} - {% if config('require_activation') %} + {% if config('lock_authentication') %}
Whoops!
You caught the site at the wrong moment! Right now registration and logging in is disabled for unspecified reasons. Sorry for the inconvenience but please try again later!