fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sending receipts.
[wolnelektury.git]
/
src
/
basicauth.py
diff --git
a/src/basicauth.py
b/src/basicauth.py
index
1275390
..
b4acb46
100644
(file)
--- a/
src/basicauth.py
+++ b/
src/basicauth.py
@@
-44,7
+44,7
@@
def view_or_basicauth(view, request, test_func, realm="", *args, **kwargs):
response.status_code = 401
response['WWW-Authenticate'] = 'Basic realm="%s"' % realm
return response
response.status_code = 401
response['WWW-Authenticate'] = 'Basic realm="%s"' % realm
return response
-
+
#
def logged_in_or_basicauth(realm=""):
#
def logged_in_or_basicauth(realm=""):