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

@ -28,6 +28,7 @@ body {
.user-message {
font-weight: bold;
color: consts.$color-highlight;
}
.drag-handle {
@ -286,7 +287,7 @@ body {
}
}
#user-edit form {
#reset-password form {
grid-template-columns: auto 1fr auto;
input[type="submit"] {
@ -294,48 +295,13 @@ body {
}
}
// #sign-in {
#user-edit form {
grid-template-columns: auto 1fr auto;
// }
// #user-edit {
// .label-name {
// grid-column: 1;
// grid-row: 1;
// }
// .input-name {
// grid-column: 2;
// grid-row: 1;
// }
// .label-password-1 {
// grid-column: 1;
// grid-row: 2;
// }
// .input-password-1 {
// grid-column: 2;
// grid-row: 2;
// }
// .label-password-2 {
// grid-column: 1;
// grid-row: 3;
// }
// .input-password-2 {
// grid-column: 2;
// grid-row: 3;
// }
// .button-save {
// grid-column: 2;
// grid-row: 4;
// width: fit-content;
// justify-self: flex-end;
// }
//}
input[type="submit"] {
grid-column: 2
}
}
}
}