Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 12, 2023
1 parent 0ab16b6 commit 0a15fbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/lang/es/passwords.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

return [
'reset' => 'Su contraseña ha sido restablecida.',
'reset' => 'Su contraseña ha sido restablecida.',
'sent' => 'Le hemos enviado por correo electrónico el enlace para restablecer su contraseña. (Si un usuario está asociado con esta dirección de correo electrónico)',
'throttled' => 'Por favor espere antes de intentar de nuevo.',
'token' => 'El token de restablecimiento de contraseña es inválido.',
Expand Down
2 changes: 1 addition & 1 deletion src/Http/ForgotPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function store(Request $request): RedirectResponse
if ($status == Password::RESET_LINK_SENT || $status == Password::INVALID_USER) {
return redirect()
->back()
->with('status', __("sharp::passwords.sent"));
->with('status', __('sharp::passwords.sent'));
}

throw ValidationException::withMessages([
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function share(Request $request)
'sharp::pages/auth/reset-password' => __('sharp::pages/auth/reset-password'),
'sharp::show' => __('sharp::show'),
])->flatMap(fn ($values, $group) => collect($values)->mapWithKeys(fn ($value, $key) => ["$group.$key" => $value])
)->toArray()
)->toArray()
),
'config' => [
'sharp.auth.suggest_remember_me' => config('sharp.auth.suggest_remember_me', false),
Expand Down

0 comments on commit 0a15fbf

Please sign in to comment.