aboutsummaryrefslogtreecommitdiff
path: root/src/filters.php
diff options
context:
space:
mode:
authorCamil Staps2015-02-21 22:15:00 +0100
committerCamil Staps2015-02-21 22:15:00 +0100
commit64ebca3e5b247e5e692a6a2c0f1de7cf6b374d66 (patch)
tree6a12f6977a0f2c4862c1e876d61dff279cd1c6e6 /src/filters.php
parenttrying to get auth work (diff)
filters
Diffstat (limited to 'src/filters.php')
-rw-r--r--src/filters.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filters.php b/src/filters.php
new file mode 100644
index 0000000..302c376
--- /dev/null
+++ b/src/filters.php
@@ -0,0 +1,5 @@
+<?php
+Route::filter('basic.once', function()
+{
+ return Auth::onceBasic();
+}); \ No newline at end of file