Password reset: multi-app support with custom notification linking to correct frontend (app/portal/admin). Email change: self-service with password confirmation and admin-initiated, both sending verification to new address with 24h expiry. Confirmation sent to old email on completion. Password change: authenticated endpoint revoking other sessions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
216 B
PHP
14 lines
216 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Enums;
|
|
|
|
enum EmailChangeStatus: string
|
|
{
|
|
case PENDING = 'pending';
|
|
case VERIFIED = 'verified';
|
|
case EXPIRED = 'expired';
|
|
case CANCELLED = 'cancelled';
|
|
}
|