HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/shop.komma.nl/app/Auth/AuthRoutes.php
<?php


namespace App\Auth;

use Illuminate\Support\Facades\Route;

class AuthRoutes
{
    /**
     * Route that are resolved from the Alias route to Rest Route by the AliasMiddleware.
     * Through the controller the models will be bind by Implicit Route Model Binding,
     * so no need to add Route::model in here.
     */
    public static function web() {
        Route::get('login', LoginController::class.'@showLoginForm')->name('site.login');
        Route::post('login', LoginController::class.'@login')->name('site.login');
        Route::post('logout', LoginController::class.'@logout')->name('site.logout');

        Route::get('password/reset', ForgotPasswordController::class.'@showLinkRequestForm')->name('site.password.request');
        Route::post('password/email', ForgotPasswordController::class.'@sendResetLinkEmail')->name('site.password.email');

        Route::get('password/reset/{token}', ResetPasswordController::class.'@showResetForm')->name('site.password.reset');
        Route::post('password/reset', ResetPasswordController::class.'@reset')->name('site.password.update');
        Route::post('password/reseted', ResetPasswordController::class.'@showReseted');

        Route::get('password/set/{token?}', ResetPasswordController::class.'@showSetForm')->name('site.password.request_set');
        Route::post('password/set', ResetPasswordController::class.'@reset')->name('site.password.set');

        Route::get('register', RegisterController::class.'@showRegistrationForm')->name('site.register');
        Route::post('register', RegisterController::class.'@register');
        Route::get('registered', RegisterController::class.'@showRegistered')->name('site.registered');
    }
}