Skip to content

Commit 336d80c

Browse files
committed
Get guest middleware using guestMiddleware() method
guestMiddleware() defined on ResetsPasswords trait This change is required to fix issue #13383 Depends on pull request laravel/framework#13384
1 parent 76b8ef7 commit 336d80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Auth/PasswordController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ class PasswordController extends Controller
2727
*/
2828
public function __construct()
2929
{
30-
$this->middleware('guest');
30+
$this->middleware($this->guestMiddleware());
3131
}
3232
}

0 commit comments

Comments
 (0)