From ebac1ac43595909c821be40f2bbb581727b72fe4 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Sun, 14 Feb 2021 18:21:24 +0000 Subject: [PATCH] Shift core files --- app/Http/Middleware/TrimStrings.php | 18 ++++++++++++++++++ resources/lang/en/passwords.php | 10 +++++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 app/Http/Middleware/TrimStrings.php diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php new file mode 100644 index 00000000..5a50e7b5 --- /dev/null +++ b/app/Http/Middleware/TrimStrings.php @@ -0,0 +1,18 @@ + 'Passwords must be at least six characters and match the confirmation.', - 'user' => "We can't find a user with that e-mail address.", - 'token' => 'This password reset token is invalid.', - 'sent' => 'We have e-mailed your password reset link!', 'reset' => 'Your password has been reset!', + 'sent' => 'We have e-mailed your password reset link!', + 'throttled' => 'Please wait before retrying.', + 'token' => 'This password reset token is invalid.', + 'user' => "We can't find a user with that e-mail address.", ];