@@ -20,8 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $status = Password::reset( |
| 22 | 22 | $request->only('email', 'password', 'password_confirmation', 'token'), |
| 23 | - function($user, $password) |
|
| 24 | - { |
|
| 23 | + function($user, $password) { |
|
| 25 | 24 | // Determine the new expiration date |
| 26 | 25 | $expires = config('auth.passwords.settings.expire') ? Carbon::now()->addDays(config('auth.passwords.settings.expire')) : null; |
| 27 | 26 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | { |
| 20 | 20 | $this->configureRateLimiting(); |
| 21 | 21 | |
| 22 | - $this->routes(function () |
|
| 22 | + $this->routes(function() |
|
| 23 | 23 | { |
| 24 | 24 | // Basic Login and Logout Routes |
| 25 | 25 | Route::middleware('web') |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | */ |
| 39 | 39 | protected function configureRateLimiting() |
| 40 | 40 | { |
| 41 | - RateLimiter::for('api', function (Request $request) { |
|
| 41 | + RateLimiter::for('api', function(Request $request) { |
|
| 42 | 42 | return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); |
| 43 | 43 | }); |
| 44 | 44 | } |
@@ -19,8 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | $this->configureRateLimiting(); |
| 21 | 21 | |
| 22 | - $this->routes(function () |
|
| 23 | - { |
|
| 22 | + $this->routes(function () { |
|
| 24 | 23 | // Basic Login and Logout Routes |
| 25 | 24 | Route::middleware('web') |
| 26 | 25 | ->namespace($this->namespace) |