2019-05-20 07:37:41 +02:00
|
|
|
<?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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2019-05-28 17:29:15 +02:00
|
|
|
// Route::get('/', function () {
|
|
|
|
// return view('welcome');
|
|
|
|
// });
|
2019-05-20 07:37:41 +02:00
|
|
|
|
2019-12-21 23:23:44 +01:00
|
|
|
// Route::get('twofaccount/{TwoFAccount}', 'TwoFAccountController@show');
|
2021-10-22 14:18:13 +02:00
|
|
|
|
|
|
|
Route::group(['middleware' => 'guest:web'], function () {
|
|
|
|
Route::post('user/login', 'Auth\LoginController@login')->name('user.login');
|
|
|
|
});
|
|
|
|
|
|
|
|
Route::group(['middleware' => 'auth:web'], function () {
|
|
|
|
Route::get('user/logout', 'Auth\LoginController@logout')->name('user.logout');
|
|
|
|
});
|
|
|
|
|
2020-03-05 12:56:35 +01:00
|
|
|
Route::get('/{any}', 'SinglePageController@index')->where('any', '.*')->name('landing');
|