mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-01-04 03:33:28 +01:00
test
This commit is contained in:
@@ -87,7 +87,7 @@ elif AUTH_TYPE == "basic":
|
||||
# https://wiki.python.org/moin/PythonDecoratorLibrary#Enable.2FDisable_Decorators
|
||||
########################################################################################
|
||||
def enable_oidc(func):
|
||||
@wraps(f)
|
||||
@wraps(func)
|
||||
def wrapper_decorator_enable_oidc():
|
||||
if AUTH_TYPE != "oidc":
|
||||
func()
|
||||
|
||||
Reference in New Issue
Block a user