mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-28 22:33:15 -05:00
Changing the email no longer overwrites the address and flips the account to StatusEmailConfirmationRequired. The new address is stored as pending_email and only applied when the confirm token is used (valid 24h), so a lost or misaddressed confirmation mail can no longer lock the user out. The change can be repeated to fix typos, cancelled, or the mail resent; confirmation mails are throttled to one per minute per user, and stale change tokens are swept by the cleanup cron. Fixes #3481