21 lines
471 B
PHP
21 lines
471 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Auth\Notifications\ResetPassword;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
ResetPassword::createUrlUsing(function ($user, string $token) {
|
|
return config('app.url') . '/reset-password/' . $token . '?email=' . urlencode($user->email);
|
|
});
|
|
}
|
|
} |