/
marklis
/
anticafe-breeze
Обзор
Документация
Войти
/
marklis
/
anticafe-breeze
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
app/Http/Controllers/Auth/EmailVerificationNotificationController.php
24 строки
630 B
Мамонов Алексей Анатольевич
Инициализация
06 мар 2025, 17:45
06 мар 2025, 17:45
0f37205
Код
Авторство
О чём код?
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; class EmailVerificationNotificationController extends Controller { /** * Send a new email verification notification. */ public function store(Request $request): RedirectResponse { if ($request->user()->hasVerifiedEmail()) { return redirect()->intended(route('dashboard', absolute: false)); } $request->user()->sendEmailVerificationNotification(); return back()->with('status', 'verification-link-sent'); } }