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>
21 lines
565 B
YAML
21 lines
565 B
YAML
spring:
|
|
flyway:
|
|
locations: classpath:db/migration
|
|
# Prod DBs created before seeds moved to db/dev-migration still list V2/V4/V6 in history.
|
|
ignore-migration-patterns: '*:missing'
|
|
|
|
# docker profile disables STARTTLS for Mailpit; prod must re-enable for Resend SMTP.
|
|
mail:
|
|
properties:
|
|
mail.smtp.auth: true
|
|
mail.smtp.starttls.enable: true
|
|
mail.smtp.starttls.required: true
|
|
|
|
app:
|
|
admin:
|
|
email: ${ADMIN_EMAIL}
|
|
password: ${ADMIN_PASSWORD}
|
|
password-reset:
|
|
expose-token: false
|
|
email-change:
|
|
expose-token: false
|