Merge pull request #1786 from jumpserver/pr@dev@relogin_bug

fix: relogin visible
This commit is contained in:
feng626
2022-06-08 19:41:09 +08:00
committed by GitHub

View File

@@ -58,6 +58,7 @@ export default {
backends.sort((a, b) => b.level - a.level)
this.ConfirmType = backends[0].name
if (this.ConfirmType === 'relogin') {
this.visible = true
return this.$message.error(this.$t('auth.ReLogin'))
} else if (this.ConfirmType === 'mfa') {
this.Label = 'MFA'