app/Providers/AuthServiceProvider.php
/**
     * Register any authentication / authorization services.
     *
     * @return void
     */
Register any authentication / authorization services.
@return void
Register any authentication / authorization services . @return void
public function boot()
    {
        $this->registerPolicies();
        if (!$this->app->routesAreCached()) {
            Passport::routes();
        }
        ResetPassword::createUrlUsing(function ($user, string $token) {
            return config('constants.frontend.url') . '/reset-password?token=' . $token;
        });
    }
public function boot ( ) { $ this -> registerPolicies ( ) ; if ( ! $ this -> app -> routesAreCached ( ) ) { Passport :: routes ( ) ; } ResetPassword :: createUrlUsing ( function ( $ user , string $ token ) { return config ( 'constants.frontend.url' ) . '/reset-password?token=' . $ token ; } ) ; }
Register any authentication / authorization services.
Register any authentication / authorization services .