]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ForgotPasswordController.php
Fixed conctenation of direct book pages within markdown export
[bookstack] / app / Http / Controllers / Auth / ForgotPasswordController.php
index 8eaee08a2b49985dbcfc299681f7be0577d48b7a..5e73b232ca734f6a4a5126d1b059a067ee314569 100644 (file)
@@ -43,7 +43,9 @@ class ForgotPasswordController extends Controller
      */
     public function sendResetLinkEmail(Request $request)
     {
-        $this->validate($request, ['email' => 'required|email']);
+        $this->validate($request, [
+            'email' => ['required', 'email'],
+        ]);
 
         // We will send the password reset link to this user. Once we have attempted
         // to send the link, we will examine the response then see the message we