123456789101112131415161718192021222324252627 |
- <?php
- namespace App\Providers;
- use Illuminate\Auth\Notifications\ResetPassword;
- use Illuminate\Support\ServiceProvider;
- class AppServiceProvider extends ServiceProvider
- {
- /**
- * Register any application services.
- */
- public function register(): void
- {
- //
- }
- /**
- * Bootstrap any application services.
- */
- public function boot(): void
- {
- ResetPassword::createUrlUsing(function (object $notifiable, string $token) {
- return config('app.frontend_url')."/password-reset/$token?email={$notifiable->getEmailForPasswordReset()}";
- });
- }
- }
|