Do not update user email if there is an error when sending the validation link to the new email

This commit is contained in:
Greg Burri 2025-05-07 01:12:51 +02:00
parent 45f4e2d169
commit 3ab168fd67
10 changed files with 103 additions and 68 deletions

View file

@ -8,7 +8,7 @@
<input id="email_field" type="email"
name="email" value="{{ email }}"
autocapitalize="none" autocomplete="email" autofocus="autofocus">
<span class="user-message">{{ message_email }}</span>
<span class="user-message ">{{ message_email }}</span>
<input type="submit" name="commit" value="{{ context.tr.t(Sentence::AskResetButton) }}">
</form>