mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-17 18:22:26 +01:00
Fix #30 - Caused by settings_page check redirecting to settings_page
This commit is contained in:
@@ -209,7 +209,8 @@ def users_page():
|
||||
def settings_page():
|
||||
# Some basic sanity checks:
|
||||
pass_checks = str(helper.load_checks())
|
||||
if pass_checks != "Pass": return redirect(url_for(pass_checks))
|
||||
if pass_checks != "Pass": and pass_checks != "settings_page":
|
||||
return redirect(url_for(pass_checks))
|
||||
|
||||
# Check if OIDC is enabled. If it is, display the buttons:
|
||||
OIDC_NAV_DROPDOWN = Markup("")
|
||||
|
||||
Reference in New Issue
Block a user