[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: re-add messages to indi
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: re-add messages to indicate auth fail |
Date: |
Tue, 07 May 2019 19:07:31 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new d662aac re-add messages to indicate auth fail
d662aac is described below
commit d662aacfcf054d121ddcd1caf79c1d877f1d8fd9
Author: Florian Dold <address@hidden>
AuthorDate: Tue May 7 19:06:55 2019 +0200
re-add messages to indicate auth fail
---
talerbank/app/templates/login.html | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/talerbank/app/templates/login.html
b/talerbank/app/templates/login.html
index 4e0d7eb..e3081af 100644
--- a/talerbank/app/templates/login.html
+++ b/talerbank/app/templates/login.html
@@ -27,6 +27,20 @@
<article>
<div class="login-form">
<h2>Please login!</h2>
+
+ {% if form.errors %}
+ <p class="informational informational-fail">Your username and password
didn't match. Please try again.</p>
+ {% endif %}
+
+ {% if next %}
+ {% if user.is_authenticated %}
+ <p class="informational informational-fail">Your account doesn't
have access to this page. To proceed,
+ please login with an account that has access.</p>
+ {% else %}
+ <p class="informational informational-fail">Please login to see
this page.</p>
+ {% endif %}
+ {% endif %}
+
<form method="post" class="pure-form" action="{{ url('login') }}">
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token
}}" />
{{ form.username }}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: re-add messages to indicate auth fail,
gnunet <=