mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-08 18:59:47 +00:00
[Update] 密码过期邮件发送(密码未过期用户&有效用户)
This commit is contained in:
@@ -111,7 +111,7 @@ class AuthMixin:
|
||||
|
||||
@property
|
||||
def password_will_expired(self):
|
||||
if self.is_local and self.password_expired_remain_days < 5:
|
||||
if self.is_local and 0 <= self.password_expired_remain_days < 5:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user