Skip to content

Account protection

Changes to account credentials and security settings trigger an email to the account owner. These messages help users notice unexpected changes. They report completed operations; they are not approval requests.

Operation Recipient
Email address change Previous email address
Password change Current registered email address
Completed password reset Current registered email address
Enabling or disabling two-factor authentication Current registered email address
Regenerating recovery codes Current registered email address
Adding or deleting a passkey Current registered email address
Account deletion Email address at the time of deletion

Email changes notify the previous address so the original owner can notice the change even if someone else controls the new address. Name-only changes do not trigger a notification.

When two-factor authentication requires a confirmation code, the enable notification is sent only after confirmation succeeds. Starting setup alone does not send it. Operations and notifications for features excluded through Chisel are unavailable.

Messages describe the change and advise users who do not recognize it to reset their password promptly and review their account security settings.

These notifications use email only, not the in-app menu or Slack. Configure mail delivery for your environment.

Delivery runs after the response is sent. Mail failures do not undo completed changes or account deletion. Delivery exceptions are passed to the application’s exception reporting.

Checking the account deletion notification

Section titled “Checking the account deletion notification”

Open profile settings at /settings/profile and find the “Delete account” button at the bottom.

Profile settings with a red arrow pointing to Delete account

The “Delete account” button in profile settings

Select “Delete account” to open the confirmation dialog and enter the current password.

Account deletion dialog with the current password entered

Account deletion confirmation with the current password entered

Confirm with “Delete account”. Once deletion completes, the browser is signed out and returns to the application’s home page.

Open Mailpit at http://localhost:8025 and check that “Your account was deleted” was delivered to the address used at deletion.

Mailpit inbox containing the account deletion notification for test@example.com

The “Your account was deleted” notification in Mailpit

Open the message and confirm that its body reports the account deletion.

Account deletion email opened in Mailpit

The account deletion notification body

Changing an email address requires the current password even when the user is signed in. Changing only the name does not require it.

Open /settings/profile and change “Email address”. A “Current password” field appears with instructions to confirm the email change.

Profile email editing with the Current password field highlighted by a red box and arrow

The “Current password” field shown for an email change

Enter the current password and select “Save”. The server validates the password and refuses the email change if it is missing or incorrect.

Rate limits restrict the number of requests accepted in a time window. They help reduce password and confirmation-code guessing and repeated sensitive operations.

Operation Limit Scope
Email and password login 5 per minute Email address and IP address
Two-factor login challenge 5 per minute User ID in the authentication flow
Profile saves and password changes 6 per minute Signed-in user
Password reset submission (setting the new password) 10 per minute per IP, and 5 per email/IP pair IP address and email/IP pair
Email verification links and resending verification mail 6 per minute Signed-in user
Session revocation 10 per minute User ID and IP address
Passkey authentication, registration, deletion, and related operations 10 per minute Credential ID (session ID if absent) and IP address

Limited requests count when accepted by the limiter, not only when the operation fails. For example, saving only a name also counts as a profile save. Operations for excluded authentication features are unavailable.

Requests beyond the limit are not processed and receive HTTP 429 Too Many Requests. Wait for the limit to expire before trying again. Repeated clicks or automatic retries do not make the blocked operations run.

Repeatedly selecting “Save” in profile settings, even without changing the values, eventually produces this response.

429 Too Many Requests after repeated profile saves

The “429 Too Many Requests” response after reaching the profile save limit

Login, two-factor authentication, password reset, session revocation, and passkey limits are defined in app/Providers/FortifyServiceProvider.php. Profile saves and password changes use throttle:6,1 in routes/settings.php. Email verification uses limits on Fortify’s routes.

Counters use the cache. Use a shared cache store when multiple application servers must share the same limits.