Laravel по-русски

Русское сообщество разработки на PHP-фреймворке Laravel.

Ты не вошёл. Вход тут.

#1 Re: Laravel 5.x » Как организовать смену Email после подтверждения? » Сегодня 14:48:10

In Laravel 5.8, the common approach is to store the new email in a temporary field and send a confirmation link to it—once the user clicks the link, update the main `email` field. If they don’t confirm, the old email stays intact. You can reuse the same logic as registration by creating a verification notification for the new email and only committing the change after successful verification.

Подвал раздела