projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use cherrypy handlers to render error pages
[cascardo/ipsilon.git]
/
templates
/
unauthorized.html
diff --git
a/templates/unauthorized.html
b/templates/unauthorized.html
index
ee2f412
..
cdb34da
100644
(file)
--- a/
templates/unauthorized.html
+++ b/
templates/unauthorized.html
@@
-2,7
+2,11
@@
{% block main %}
<div class="col-sm-12">
<h1>401 - Unauthorized</h1>
{% 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>
<p><a href="{{ basepath }}/login" title="Login">Try to login again</a></p>
</div>
-{% endblock %}
\ No newline at end of file
+{% endblock %}