mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-21 05:14:45 +01:00
consistency is key
This commit is contained in:
@@ -250,5 +250,5 @@ def load_checks():
|
||||
# General error checks. See the function for more info:
|
||||
if access_checks() != "Pass": return 'error_page'
|
||||
# If the API key fails, redirect to the settings page:
|
||||
if key_check() == False: return 'settings_page'
|
||||
if key_check() != True: return 'settings_page'
|
||||
return "Pass"
|
||||
Reference in New Issue
Block a user