Remove no password set boolean
This commit is contained in:
1 parent
64ebe8c6d0
commit
0df39b4df5
2 files changed
+5
-11
No files matched your search
@@ -65,7 +65,7 @@ def _handle_get_root(handler, path_match, data):
|
||||
app_url = "frontend-{}.html".format(version.VERSION)
|
||||
|
||||
# auto login if no password was set, else check api_password param
|
||||
auth = ('no_password_set' if handler.server.no_password_set
|
||||
auth = ('no_password_set' if handler.server.api_password is None
|
||||
else data.get('api_password', ''))
|
||||
|
||||
with open(INDEX_PATH) as template_file:
|
||||
|
||||
Reference in new issue
Block a user