From 2c3ad7354251d4a93af33876d528b415f6486709 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Fri, 14 Jul 2023 08:30:08 -0700 Subject: [PATCH] fix: Update the case for validation where SSO link is used (#7527) --- app/javascript/v3/views/login/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/v3/views/login/Index.vue b/app/javascript/v3/views/login/Index.vue index 36b52123f..cf6cb9462 100644 --- a/app/javascript/v3/views/login/Index.vue +++ b/app/javascript/v3/views/login/Index.vue @@ -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; }