From 2c8fdce6aa7c6615adebd0447d1eeff0f1901099 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Sat, 16 Nov 2024 03:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA=20=D0=B2=D1=85=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0/=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/Auth/Login.vue | 1 + resources/views/Auth/Registration.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/views/Auth/Login.vue b/resources/views/Auth/Login.vue index 040f667..59018e9 100644 --- a/resources/views/Auth/Login.vue +++ b/resources/views/Auth/Login.vue @@ -38,6 +38,7 @@ export default { let validation = this.validate(); if (validation !== true){ alert(validation); + this.loading = false; return; } this.userStore.login(this.email, this.password, this.rememberMe).then((isLogged) => { diff --git a/resources/views/Auth/Registration.vue b/resources/views/Auth/Registration.vue index 8edecbb..8302abf 100644 --- a/resources/views/Auth/Registration.vue +++ b/resources/views/Auth/Registration.vue @@ -43,6 +43,7 @@ export default { let validation = this.validate(); if (validation !== true){ alert(validation); + this.loading = false; return; } this.userStore.registration(this.login, this.email, this.password, this.repeatPassword).then((isRegistred)=>{