LDAP tester

This commit is contained in:
snipe
2016-07-13 05:50:40 -07:00
parent 4233c781ac
commit e7038cfdc8
2 changed files with 31 additions and 2 deletions
+11 -2
View File
@@ -466,12 +466,19 @@ Route::group([ 'prefix' => 'admin','middleware' => ['web','auth']], function ()
Route::group([ 'prefix' => 'app' ], function () {
Route::post('purge', ['as' => 'purge', 'uses' => 'SettingsController@postPurge']);
Route::get('/', [ 'as' => 'app', 'uses' => 'SettingsController@getIndex' ]);
Route::get('edit', [ 'as' => 'edit/settings', 'uses' => 'SettingsController@getEdit' ]);
Route::post('edit', 'SettingsController@postEdit');
Route::get('ldaptest', [
'as' => 'settings/ldaptest',
'uses' => 'SettingsController@getLdapTest'
]);
Route::get('/', [ 'as' => 'app', 'uses' => 'SettingsController@getIndex' ]);
});
# Settings
Route::group([ 'prefix' => 'backups', 'middleware' => 'auth' ], function () {
@@ -488,6 +495,8 @@ Route::group([ 'prefix' => 'admin','middleware' => ['web','auth']], function ()
'as' => 'settings/backups',
'uses' => 'SettingsController@postBackups'
]);
Route::get('/', [ 'as' => 'settings/backups', 'uses' => 'SettingsController@getBackups' ]);
});