Skip to content

Commit

Permalink
Get guest middleware using guestMiddleware() method
Browse files Browse the repository at this point in the history
guestMiddleware() defined on ResetsPasswords trait

This change is required to fix issue #13383

Depends on pull request laravel/framework#13384
  • Loading branch information
sadika9 committed Apr 30, 2016
1 parent 76b8ef7 commit 336d80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/PasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class PasswordController extends Controller
*/
public function __construct()
{
$this->middleware('guest');
$this->middleware($this->guestMiddleware());
}
}

0 comments on commit 336d80c

Please sign in to comment.