summaryrefslogtreecommitdiff
path: root/tests/auth.wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth.wsgi')
-rw-r--r--tests/auth.wsgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auth.wsgi b/tests/auth.wsgi
index 6d9d668..77b6eae 100644
--- a/tests/auth.wsgi
+++ b/tests/auth.wsgi
@@ -1,3 +1,7 @@
+def allow_access(environ, host):
+ print('HOST', host, environ['REQUEST_URI'])
+ return True
+
def check_password(environ, user, password):
print('USER', user, environ['REQUEST_URI'])
if user == 'spy':