Replace the header "Byt lösenord" link with an Inställningar menu for changing email or password. Email changes are two-step: request with password, confirmation link to the new address, then password again on confirm so a wrong inbox cannot take over the account. - Backend: EmailChangeService, V10 email_change_tokens, confirm API - Frontend: ChangeEmailPage, ConfirmEmailChangePage, header dropdown - E2E: account-settings round-trips, Mailpit verification, wrong-password guard - Flyway: V9 restore for dev DBs, CI migration checks, V10 for email tokens Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
235 B
Java
8 lines
235 B
Java
package se.bilhalsning.exception;
|
|
|
|
public class EmailChangeTokenInvalidException extends RuntimeException {
|
|
|
|
public EmailChangeTokenInvalidException() {
|
|
super("Bekräftelselänken är ogiltig eller har gått ut.");
|
|
}
|
|
}
|