Skip to content

handlers.test_handler

fluffy edited this page Jul 13, 2019 · 1 revision

authl.handlers.test_handler: Testing handler

This handler should not be used in production. It lets anyone just log in using any URL that starts with test:. It does nothing to validate their identity. It should not be used in production. Also, you should never use it in production. Just to be clear, it is not something you want to use on an actual site.

It does not provide any configuration of its own, but the top-level from_config can take an option of TEST_ENABLED to enable it. Which you should not do except in a test environment. Because this handler should not be used in production.

Clone this wiki locally