Hi, I'm trying to set up a function for authenticating users over a service.
This is my method: def authenticate(): is_loggedin = auth and auth.user if not is_loggedin: auth.allow_basic_login = True is_loggedin = auth.basic() return is_loggedin This is how I call it: curl -u a%40b.com:test http://127.0.0.1:8000/app/default/authenticate a...@b.com is the username, test is the password. This is returning False when I expected True. What am I missing?