Merge pull request #2921 from jumpserver/pr@dev@user_password_expire

fix: 用户密码即将到期不提示
This commit is contained in:
老广
2023-03-15 17:37:54 +08:00
committed by GitHub

View File

@@ -24,7 +24,7 @@ export default {
]),
expireMsg() {
// 用户来源不是Local时不显示密码过期提示
if (this.currentUser.source !== 'local') {
if (this.currentUser.source.value !== 'local') {
return false
}
const intervalTime = this.getIntervalDays(this.currentUser.date_password_last_updated)