From ce92442889148964580826df08ca3791fe199e94 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Wed, 31 Mar 2021 17:12:47 +0000 Subject: [PATCH] Shift core files --- app/Exceptions/Handler.php | 1 + app/Http/Middleware/TrimStrings.php | 1 + resources/lang/en/auth.php | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 resources/lang/en/auth.php diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 49853ce9..de088079 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -42,6 +42,7 @@ class Handler extends ExceptionHandler * @var array */ protected $dontFlash = [ + 'current_password', 'password', 'password_confirmation', ]; diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php index 5a50e7b5..a8a252df 100644 --- a/app/Http/Middleware/TrimStrings.php +++ b/app/Http/Middleware/TrimStrings.php @@ -12,6 +12,7 @@ class TrimStrings extends Middleware * @var array */ protected $except = [ + 'current_password', 'password', 'password_confirmation', ]; diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php new file mode 100644 index 00000000..6598e2c0 --- /dev/null +++ b/resources/lang/en/auth.php @@ -0,0 +1,20 @@ + 'These credentials do not match our records.', + 'password' => 'The provided password is incorrect.', + 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', + +];