From 452da6c6b424dc25e566bb119a250c81013e6b09 Mon Sep 17 00:00:00 2001 From: Peter Papp Date: Sat, 10 Apr 2021 09:06:05 +0200 Subject: [PATCH] - disabled notification after backup - fix incorrect password in sign in form --- config/backup.php | 4 ++-- resources/js/views/Auth/SignIn.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/backup.php b/config/backup.php index 828a09a1..9cf5b964 100644 --- a/config/backup.php +++ b/config/backup.php @@ -165,14 +165,14 @@ return [ */ 'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, - 'mail' => [ + /*'mail' => [ 'to' => 'your@example.com', 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'name' => env('MAIL_FROM_NAME', 'Example'), ], - ], + ],*/ 'slack' => [ 'webhook_url' => '', diff --git a/resources/js/views/Auth/SignIn.vue b/resources/js/views/Auth/SignIn.vue index 829ac734..16c6957f 100644 --- a/resources/js/views/Auth/SignIn.vue +++ b/resources/js/views/Auth/SignIn.vue @@ -186,7 +186,7 @@ }) .catch(error => { - if (error.response.status == 400) { + if (error.response.status == 422) { this.$refs.sign_in.setErrors({ 'User Password': [this.$t('validation_errors.incorrect_password')]