gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch master updated: better class name


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: better class name
Date: Thu, 04 Jan 2018 11:27:06 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new b61c342  better class name
b61c342 is described below

commit b61c34235450154882d271ffb566db677170bbf8
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Jan 4 11:26:50 2018 +0100

    better class name
---
 talerbank/app/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 00d3cc4..6383a68 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -60,7 +60,7 @@ class RejectNoRightsException(Exception):
            "no rights to reject."
     http_status_code = 403
 
-class MyAuthenticationForm(
+class TalerAuthenticationForm(
         django.contrib.auth.forms.AuthenticationForm):
     def __init__(self, *args, **kwargs):
         super().__init__(*args, **kwargs)
@@ -76,7 +76,7 @@ def login_view(request):
     fail_message, success_message, hint = get_session_hint(request, 
"login_hint")
     response = django.contrib.auth.views.login(
         request,
-        authentication_form=MyAuthenticationForm,
+        authentication_form=TalerAuthenticationForm,
         template_name="login.html",
         extra_context={"user": request.user})
     if hasattr(response, "context_data"):

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]