fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Django 2.0
[wolnelektury.git]
/
src
/
basicauth.py
diff --git
a/src/basicauth.py
b/src/basicauth.py
index
dc7aceb
..
1275390
100644
(file)
--- a/
src/basicauth.py
+++ b/
src/basicauth.py
@@
-79,7
+79,7
@@
def logged_in_or_basicauth(realm=""):
def view_decorator(func):
def wrapper(request, *args, **kwargs):
return view_or_basicauth(func, request,
- lambda u: u.is_authenticated
()
,
+ lambda u: u.is_authenticated,
realm, *args, **kwargs)
return wrapper
return view_decorator