mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-24 12:40:36 +00:00
fix: 用户密码即将到期不提示
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
|||||||
]),
|
]),
|
||||||
expireMsg() {
|
expireMsg() {
|
||||||
// 用户来源不是Local时不显示密码过期提示
|
// 用户来源不是Local时不显示密码过期提示
|
||||||
if (this.currentUser.source !== 'local') {
|
if (this.currentUser.source.value !== 'local') {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
const intervalTime = this.getIntervalDays(this.currentUser.date_password_last_updated)
|
const intervalTime = this.getIntervalDays(this.currentUser.date_password_last_updated)
|
||||||
|
Reference in New Issue
Block a user