fix(auth): adjust auth to occur before module init

This commit is contained in:
InfinityPacer
2024-11-21 17:37:48 +08:00
parent c0eb9d824c
commit c299bf6f7c
3 changed files with 20 additions and 3 deletions
-3
View File
@@ -174,9 +174,6 @@ class Scheduler(metaclass=Singleton):
# 停止定时服务
self.stop()
# 用户认证立即执行一次
user_auth()
# 调试模式不启动定时服务
if settings.DEV:
return