aboutsummaryrefslogtreecommitdiff
path: root/backend/NoneAuth.py
blob: 0522e59fb37630e1ce00d2aea9923742f0d7bcfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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