mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-21 23:59:22 +00:00
fix: 用户来源不为Local的时候禁止更新密码
Closes https://github.com/jumpserver/trello/issues/44
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
if (formValue.update_password) {
|
||||
return true
|
||||
}
|
||||
return this.$route.meta.action !== 'update'
|
||||
return this.$route.meta.action !== 'update' || formValue.source !== 'local'
|
||||
}
|
||||
},
|
||||
password: {
|
||||
|
Reference in New Issue
Block a user