X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0b83514c0335addda3b76710aec04df93f85479d..116ce833f4ff761db288866564e430f7d2bae86d:/src/basicauth.py?ds=sidebyside diff --git a/src/basicauth.py b/src/basicauth.py index dc7aceb16..1275390ed 100644 --- 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