aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/keys.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 13:57:57 +0200
committerMarvin Borner2018-07-20 13:57:57 +0200
commit932d439444f10774bff546923cc0a2e5e2f2857b (patch)
treeef9bcc039d263f929b4f4991881a52a8343c1dfe /routes/keys.php
parentbd04ac097a0a29ba7c48a5f4a46d99ae7d86eea1 (diff)
Rewrite (only for backend/oauth/api use from now on)
Diffstat (limited to 'routes/keys.php')
-rwxr-xr-xroutes/keys.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/routes/keys.php b/routes/keys.php
deleted file mode 100755
index 52c7b3a..0000000
--- a/routes/keys.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/*
-|--------------------------------------------------------------------------
-| Routes for public keys
-|--------------------------------------------------------------------------
-|
-| Here is where you can register web routes for your application. These
-| routes are loaded by the RouteServiceProvider within a group which
-| contains the "web" middleware group. Now create something great!
-|
- */
-Auth::routes();
-Route::middleware('auth', 'throttle:30') // throttle to 30 per minute
- ->group(function () {
- Route::get('keys/cookie/public/', 'PublicKeyController@setUsersKeyByCookie');
- Route::get('keys/public/{user_id}', 'PublicKeyController@getUsersKey');
- Route::post('keys/public', 'PublicKeyController@setUsersKey');
- });