Skip to content
Snippets Groups Projects
Commit c4e976d9 authored by Jonas Leder's avatar Jonas Leder
Browse files

fixed bug, api not working if password disabled

parent d1849b96
No related branches found
No related tags found
No related merge requests found
Pipeline #239 passed
......@@ -88,8 +88,10 @@ try:
password = environ["passwordToShort"]
else:
passwordProtected = False
password = ""
except:
passwordProtected = False
password = ""
if(loginEnabled):
try: #Try to get the oauth keys, if it fails, abort and print a message to console
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment