[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: restore lost value
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: restore lost value |
Date: |
Thu, 01 Oct 2020 16:20:16 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new dfc105a restore lost value
dfc105a is described below
commit dfc105a9d2f38ca01a408bd5299a243eecbed59c
Author: MS <ms@taler.net>
AuthorDate: Thu Oct 1 16:20:12 2020 +0200
restore lost value
---
talerbank/app/views.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 268e85f..8c78c86 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -645,7 +645,8 @@ def serve_public_accounts(request, name=None, page=None):
def login_via_headers(view_func):
def _decorator(request, *args, **kwargs):
if request.user.is_authenticated:
- return view_func(request, user_account, *args, **kwargs)
+ return view_func(request, request.user, *args, **kwargs)
+ user_account = basic_auth(request)
if not user_account:
raise LoginFailed("authentication failed")
return view_func(request, user_account, *args, **kwargs)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: restore lost value,
gnunet <=