This commit is contained in:
iFargle
2023-02-22 14:54:49 +09:00
parent 98202cae55
commit 78db2b89d1

View File

@@ -92,7 +92,7 @@ elif AUTH_TYPE == "basic":
basic_auth = BasicAuth()
# Make a fake decorator for oidc.require_login
class OpenIDConnect(app):
class OpenIDConnect():
def require_login(self, view_func):
@wraps(view_func)
def decorated(*args, **kwargs):