Skip to content
Snippets Groups Projects
Commit fcb6960e authored by davidc's avatar davidc Committed by Julian
Browse files

LOGIN_BANNER config to display a banner above the login form

parent 918a24a2
Branches
Tags release/calendar/4.7.13
No related merge requests found
......@@ -109,6 +109,9 @@ SERVICES_BANNER_PUBLIC=True
# Enable the service overview page for users who are not logged in
SERVICES_PUBLIC=True
# An optional banner that will be displayed above the login form
#LOGIN_BANNER='Always check the URL. Never enter your SSO password on any other site.'
BRANDING_LOGO_URL='/static/empty.png'
SITE_TITLE='uffd'
......
......@@ -5,6 +5,9 @@
<div class="col-12">
<h2 class="text-center">{{_("Login")}}</h2>
</div>
{% if config['LOGIN_BANNER'] %}
<p>{{ config['LOGIN_BANNER'] }}</p>
{% endif %}
<div class="form-group col-12">
<label for="user-loginname">{{_("Login Name")}}</label>
<input type="text" class="form-control" id="user-loginname" name="loginname" required="required" tabindex = "1" autofocus>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment