This commit is contained in:
iFargle
2023-02-21 19:58:00 +09:00
parent 94ed8680dd
commit 5db05b322e

View File

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