diff options
author | Camil Staps | 2015-02-22 12:15:31 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-22 12:15:31 +0100 |
commit | e007364139143a037fcd64b42ad35ce1630590fe (patch) | |
tree | 96cf5999d3976b909bbbe93e61eec089427b7b44 /src/filters.php | |
parent | filters (diff) |
Got basic HTTP authentication working
Diffstat (limited to 'src/filters.php')
-rw-r--r-- | src/filters.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/filters.php b/src/filters.php index 302c376..17daa3a 100644 --- a/src/filters.php +++ b/src/filters.php @@ -1,5 +1,4 @@ <?php -Route::filter('basic.once', function() -{ - return Auth::onceBasic(); +Route::filter('botleaguesapi-http-auth', function(){ + header('WWW-Authenticate: Basic realm="Botleagues"'); });
\ No newline at end of file |