diff options
Diffstat (limited to 'templates/unauthorized.html')
-rw-r--r-- | templates/unauthorized.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/unauthorized.html b/templates/unauthorized.html index ee2f412..cdb34da 100644 --- a/templates/unauthorized.html +++ b/templates/unauthorized.html @@ -2,7 +2,11 @@ {% block main %} <div class="col-sm-12"> <h1>401 - Unauthorized</h1> - <p>Authentication was not successful</p> + {% if message: %} + <p>{{ message }}</p> + {% else %} + <p>Authentication was not successful</p> + {% endif %} <p><a href="{{ basepath }}/login" title="Login">Try to login again</a></p> </div> -{% endblock %}
\ No newline at end of file +{% endblock %} |