Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit a86cb75

Browse files
committed
Merge branch 'master' of github.com:srnd/CodeDay
2 parents 63c9dca + 785b1aa commit a86cb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/ChallengeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function getChallenge()
1111
if ($password == \Config::get('challenge')) {
1212
return response()->download('../resources/assets/challenge.zip');
1313
} else {
14-
return response('Unauthorized')->header('X-The-Secret-You-Seek', '?password='.\Config::get('challenge'));
14+
return response('Unauthorized', 401)->header('X-The-Secret-You-Seek', '?password='.\Config::get('challenge'));
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)