File: D:/HostingSpaces/zipwire/zipwire.nl/routes/authenticationRoutes.php
<?php
use App\KommaApp\Auth\LoginController;
use App\KommaApp\Auth\RegisterController;
use App\KommaApp\Auth\ForgotPasswordController;
use \App\KommaApp\Auth\ResetPasswordController;
Route::group(['prefix' => 'kms', 'namespace' => '\\'], function(){
$this->get('login', LoginController::class.'@showLoginForm')->name('login');
$this->post('login', LoginController::class.'@login');
$this->post('logout', LoginController::class.'@logout')->name('logout');
// Password Reset Routes...
$this->get('password/reset', ForgotPasswordController::class.'@showLinkRequestForm')->name('password.request');
$this->post('password/email', ForgotPasswordController::class.'@sendResetLinkEmail')->name('password.email');
$this->get('password/reset/{token}', ResetPasswordController::class.'@showResetForm')->name('password.reset');
$this->post('password/reset', ResetPasswordController::class.'@reset');
});
Route::post('/login', LoginController::class.'@login')->name('siteLogin');
Route::post('/logout', LoginController::class.'@logout')->name('siteLogout');
Route::get('register', RegisterController::class.'@showRegistrationForm')->name('register');
Route::post('register', RegisterController::class.'@register');