diff --git a/templates/web/login/include/guest-access-block.html.twig b/templates/web/login/include/guest-access-block.html.twig new file mode 100644 index 0000000000..03b6dae755 --- /dev/null +++ b/templates/web/login/include/guest-access-block.html.twig @@ -0,0 +1,9 @@ +{% if guest_allowed %} +
+{% endif %} diff --git a/templates/web/login/index.html.twig b/templates/web/login/index.html.twig index dc4d8052dd..02291ed2c0 100644 --- a/templates/web/login/index.html.twig +++ b/templates/web/login/index.html.twig @@ -2,6 +2,7 @@ variable "feed" to get public feeds variable "recaptcha_display" should be setted Tell whether the recaptch should be displayed variable "recaptacha" should be setted The recaptcha object + variable "guest_allowed" phrasea::guest_allowed($app) #} {% extends "login/layout/sidebar-layout.html.twig" %} @@ -85,7 +86,7 @@ -