mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-21 06:24:45 +01:00
test
This commit is contained in:
@@ -90,7 +90,7 @@ if AUTH_TYPE == "oidc":
|
||||
@app.before_request
|
||||
def check_oidc_credentials():
|
||||
LOG.error("Checking if the user is logged in...: "+str(oidc.user_loggedin))
|
||||
if oidc.user_loggedin == False:
|
||||
if not oidc.user_loggedin:
|
||||
LOG.error("User is not logged in. Redirecting to login")
|
||||
log_in()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user