[Update] 修改消息

pull/3428/head
ibuler 2019-11-05 19:05:29 +08:00
parent 6ce9815d51
commit 8de863525a
2 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def check_user_valid(**kwargs):
if user is None:
return None, errors.reason_user_not_exist
elif user.is_expired:
return None, errors.reason_password_expired
return None, errors.reason_user_inactive
elif not user.is_active:
return None, errors.reason_user_inactive
elif user.password_has_expired:

Binary file not shown.