The book says:

*Auth* enables login via basic authentication:

1.

auth.settings.allow_basic_login = False


Shouldn't that be "True" to enable?

And then, why wouldn't this work:

auth.settings.allow_basic_login = True

@auth.requires_login()
def stream():
    return dict()

Reply via email to