fix: Update the case for validation where SSO link is used (#7527)

This commit is contained in:
Pranav Raj S
2023-07-14 08:30:08 -07:00
committed by GitHub
parent 59b1d59574
commit 2c3ad73542

View File

@@ -173,7 +173,7 @@ export default {
bus.$emit('newToastMessage', this.loginApi.message);
},
submitLogin() {
if (this.$v.credentials.email.$invalid) {
if (this.$v.credentials.email.$invalid && !this.email) {
this.showAlert(this.$t('LOGIN.EMAIL.ERROR'));
return;
}