quadfile/QuadFile/application.py

8 lines
171 B
Python
Raw Normal View History

2016-09-23 08:57:06 +00:00
# Very, very simple auth feature.
def basicauth(key, configured):
if configured == "":
return True
elif configured == key:
return True
else:
return False