[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: fix pin/tan form
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: fix pin/tan form |
Date: |
Wed, 15 Mar 2017 14:30:25 +0100 |
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 68e731e fix pin/tan form
68e731e is described below
commit 68e731eb24fedda9eb4e0715dffdba53466d50ca
Author: Florian Dold <address@hidden>
AuthorDate: Wed Mar 15 14:30:22 2017 +0100
fix pin/tan form
---
talerbank/app/templates/pin_tan.html | 52 ++++++++++++++++--------------------
1 file changed, 23 insertions(+), 29 deletions(-)
diff --git a/talerbank/app/templates/pin_tan.html
b/talerbank/app/templates/pin_tan.html
index 7480a8d..166118f 100644
--- a/talerbank/app/templates/pin_tan.html
+++ b/talerbank/app/templates/pin_tan.html
@@ -24,33 +24,27 @@
{% endblock %}
{% block content %}
- <aside class="sidebar" id="left">
- </aside>
- <section id="main">
- <article>
- {% if previous_failed %}
- <p class="informational informational-fail">
- The captcha wasn't solved correctly. Please try again.
- </p>
- {% endif %}
- <p>
- {{ settings_value("TALER_CURRENCY") }} Bank needs to verify that you
- intend to withdraw <b>{{ amount }} {{ settings_value("TALER_CURRENCY")
}}</b> from
- <b>{{ exchange }}</b>.
- To prove that you are the account owner, please answer the
- following "security question" (*):
- </p>
- <form method="post" action="{% url "pin-verify" %}">
- <input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token
}}">
- {{ form.pin }}
- <input type="hidden" name="question_url" value="{{
request.get_full_path }}"></input>
- <input type="submit" value="Ok"></input>
- </form>
- <small style="margin: 40px 0px">(*) A real bank should ask for
- a PIN/TAN instead of a simple calculation. For example by sending
- a one time password to the customer's mobile or providing her a
- random password generator.
- <small>
- </article>
- </section>
+ {% if previous_failed %}
+ <p class="informational informational-fail">
+ The captcha wasn't solved correctly. Please try again.
+ </p>
+ {% endif %}
+ <p>
+ {{ settings_value("TALER_CURRENCY") }} Bank needs to verify that you
+ intend to withdraw <b>{{ amount }} {{ settings_value("TALER_CURRENCY")
}}</b> from
+ <b>{{ exchange }}</b>.
+ To prove that you are the account owner, please answer the
+ following "security question" (*):
+ </p>
+ <form method="post" action="{{ url('pin-verify') }}">
+ <input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}">
+ {{ form.pin }}
+ <input type="hidden" name="question_url" value="{{ request.get_full_path
}}"></input>
+ <input type="submit" value="Ok"></input>
+ </form>
+ <small style="margin: 40px 0px">(*) A real bank should ask for
+ a PIN/TAN instead of a simple calculation. For example by sending
+ a one time password to the customer's mobile or providing her a
+ random password generator.
+ <small>
{% endblock content %}
--
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: fix pin/tan form,
gnunet <=