
- Added functionality for users to request an email change, including generating a verification code and setting an expiration time. - Implemented methods in the User model to handle email change requests, code validation, and confirmation. - Created a new job to update the user's email in Stripe after confirmation. - Introduced rate limiting for email change requests and verification attempts to prevent abuse. - Added a new notification for email change verification. - Updated the profile component to manage email change requests and verification UI.
11 lines
378 B
PHP
11 lines
378 B
PHP
<x-emails.layout>
|
|
You have requested to change your email address to: {{ $newEmail }}
|
|
|
|
Please use the following verification code to confirm this change:
|
|
|
|
Verification Code: {{ $verificationCode }}
|
|
|
|
This code is valid for {{ $expiryMinutes }} minutes.
|
|
|
|
If you did not request this change, please ignore this email and your email address will remain unchanged.
|
|
</x-emails.layout> |