Fix #30 - Caused by settings_page check redirecting to settings_page

This commit is contained in:
iFargle
2023-02-26 21:49:18 +09:00
parent 9aac1f9ed1
commit 991617320e

View File

@@ -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("")