/
dimamir
/
coolify
Обзор
Документация
Войти
/
dimamir
/
coolify
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/Livewire/VerifyEmail.php
27 строк
570 B
Lucas Michot
Get rid of many useless blank lines
31 окт 2024, 19:44
31 окт 2024, 19:44
8e1444e
Код
Авторство
О чём код?
<?php namespace App\Livewire; use DanHarrin\LivewireRateLimiting\WithRateLimiting; use Livewire\Component; class VerifyEmail extends Component { use WithRateLimiting; public function again() { try { $this->rateLimit(1, 300); auth()->user()->sendVerificationEmail(); $this->dispatch('success', 'Email verification link sent!'); } catch (\Exception $e) { return handleError($e, $this); } } public function render() { return view('livewire.verify-email'); } }