ldc-web/routes/web.php
Vincent BRIDIER 9d5b54a5ea - SAML OK
- TOTP OK
- STATUS Checker (to do : code)
- EDL Web edit
2020-04-14 15:58:24 +02:00

27 lines
1.1 KiB
PHP

<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| 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!
|
*/
Route::get('/login/verify', 'OTPController@verify')->name('auth.verify');
Route::post('/login/checkOTP', 'OTPController@check')->name('auth.otp');
Route::view('/login/verification_failed', 'auth.verification_failed')->name('verification_failed');
Route::view('/login/unauthorized', 'auth.unauthorized')->name('unauthorized');
Route::group(['middleware' => ['auth']], function () {
Route::get('/', 'HomeController@index')->name('home');
/* STATUS CHECKER */
Route::get('/status-checker', 'StatusCheckerController@index');
/* EDL WEB */
Route::get('/projects', 'ProjectsController@index');
Route::get('/projects/{uuid}/edit', 'ProjectsController@edit')->name('projects.edit');
Route::post('/projects/{uuid}/update', 'ProjectsController@update');
});