File: D:/HostingSpaces/SBogers10/helder.komma.pro/routes/auth.php
<?php
use Illuminate\Support\Facades\Auth;
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');
Route::get('profile', 'Auth\ProfileController@profile')->name('profile')->middleware('auth');
Route::post('profile', 'Auth\ProfileController@editProfile')->name('profile.edit')->middleware('auth');