Skip to content
Snippets Groups Projects
Commit 80c789e6 authored by Tibo's avatar Tibo
Browse files

Show forbidden message

parent d45d5f7f
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ Route::get('app/organizations/{organization}/dashboard/{token}',
function(\App\Organization $organization, string $token) {
if ($organization->dashboard_token != $token) {
abort(403);
abort(403, 'Forbidden');
}
return view("organization.dashboard", array("organization" => $organization));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment