fix: 注销后关掉学习连接,目标为零不再显示成零比零
This commit is contained in:
@@ -519,8 +519,10 @@ def revoke_credential(db: Session, employee_id: str) -> None:
|
||||
account.sessions_valid_after = datetime.now(timezone.utc)
|
||||
db.commit()
|
||||
from euniv.autostudy import stop_account
|
||||
from euniv.study_push import close_account
|
||||
|
||||
stop_account(employee_id)
|
||||
close_account(employee_id)
|
||||
release_credential_lock(employee_id)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user