File: D:/HostingSpaces/SBogers10/anvil.komma.pro/routes/web.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('/', function () {
// return view('welcome');
//});
//Register authentication routes
//Auth::routes(); //Orginal
Route::group(['prefix' => 'kms'], function(){
Auth::routes();
});
Route::post('/login', 'Auth\LoginController@login')->name('siteLogin');
Route::post('/logout', 'Auth\LoginController@logout')->name('siteLogout');
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
Route::post('register', 'Auth\RegisterController@register');