Skip to content

Commit c75396f

Browse files
authored
Ensure logout requires authentication (#269)
1 parent bf2271d commit c75396f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stubs/Auth/LoginController.stub

+1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ class LoginController extends Controller
3535
public function __construct()
3636
{
3737
$this->middleware('guest')->except('logout');
38+
$this->middleware('auth')->only('logout');
3839
}
3940
}

0 commit comments

Comments
 (0)