diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 2b9bb297e2..9bc7ec3c83 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -138,6 +138,7 @@ export default { } }, handleLogin() { + Cookies.remove('OidcError') this.$refs.loginForm.validate(valid => { if (valid) { this.loading = true @@ -160,6 +161,7 @@ export default { }, changeLoginType(val) { if (val !== 2) return + Cookies.remove('OidcError') this.$nextTick(() => { })