mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
fix: 修复关闭ssh后 仍然可以修改密钥
This commit is contained in:
@@ -121,6 +121,7 @@ export default {
|
||||
title: this.$t('users.quickUpdate.resetSSHKey'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
disabled: !this.$store.state.users.profile.can_public_key_auth,
|
||||
label: this.$t('users.quickUpdate.send')
|
||||
},
|
||||
callbacks: {
|
||||
|
||||
Reference in New Issue
Block a user