diff options
Diffstat (limited to 'backend/NoneAuth.py')
-rw-r--r-- | backend/NoneAuth.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/NoneAuth.py b/backend/NoneAuth.py new file mode 100644 index 0000000..0522e59 --- /dev/null +++ b/backend/NoneAuth.py @@ -0,0 +1,15 @@ +import config +import utils + +# This authentication does not support any login to the web administration interface. +# Use this if you only want to manage cargohold from the command line or have your +# own management interface. + +def login(env, post): + return utils.redirect(config.homepage) + +def get(env): + return None + +def logout(): + return False |