]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ForgotPasswordController.php
Fixed role permission removal bug
[bookstack] / app / Http / Controllers / Auth / ForgotPasswordController.php
index 45e40e6fe8371a5d8034ca2d5627f2ff63621acc..d1fbddc509593e347e8a5b789d2792c2d2abd071 100644 (file)
@@ -52,7 +52,7 @@ class ForgotPasswordController extends Controller
         );
 
         if ($response === Password::RESET_LINK_SENT) {
-            $message = 'A password reset link has been sent to ' . $request->get('email') . '.';
+            $message = trans('auth.reset_password_sent_success', ['email' => $request->get('email')]);
             session()->flash('success', $message);
             return back()->with('status', trans($response));
         }