We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7fe4c0 commit ff3d3a4Copy full SHA for ff3d3a4
app/Providers/AuthServiceProvider.php
@@ -13,7 +13,6 @@
13
use App\Policies\NotificationPolicy;
14
use App\Policies\ReplyPolicy;
15
use App\Policies\ThreadPolicy;
16
-use Illuminate\Auth\Notifications\ResetPassword;
17
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
18
use Illuminate\Notifications\DatabaseNotification as Notification;
19
use Illuminate\Support\Facades\Gate;
@@ -37,12 +36,6 @@ public function boot(): void
37
36
{
38
$this->registerPolicies();
39
40
- if (request()->ajax()) {
41
- ResetPassword::createUrlUsing(
42
- callback: fn ($user, string $token) => config('lcm.spa_url').'/auth/password/reset?token='.$token
43
- );
44
- }
45
-
46
Gate::before(fn ($user) => $user->hasRole('admin') ? true : null);
47
}
48
0 commit comments