Implement basic security policy on daemon remote routes

This commit is contained in:
Dane Everitt
2017-01-27 16:34:46 -05:00
parent 9087feec4f
commit 4b0197f2be
5 changed files with 74 additions and 6 deletions

View File

@@ -42,11 +42,6 @@ class RemoteRoutes
'uses' => 'Remote\RemoteController@postInstall',
]);
$router->post('event', [
'as' => 'remote.event',
'uses' => 'Remote\RemoteController@event',
]);
$router->get('configuration/{token}', [
'as' => 'remote.configuration',
'uses' => 'Remote\RemoteController@getConfiguration',