Do not update user email if there is an error when sending the validation link to the new email
This commit is contained in:
parent
45f4e2d169
commit
3ab168fd67
10 changed files with 103 additions and 68 deletions
|
|
@ -5,15 +5,19 @@ $dark-theme: false !default;
|
|||
$color-1: #B29B89;
|
||||
$color-2: #89B29B;
|
||||
$color-3: #9B89B2;
|
||||
$color-highlight: #cf2d2dff;
|
||||
|
||||
$text-color: color.adjust($color-1, $lightness: -30%);
|
||||
$text-highlight: color.adjust($color-1, $lightness: +30%);
|
||||
|
||||
$link-color: color.adjust($color-3, $lightness: -25%);
|
||||
$link-hover-color: color.adjust($color-3, $lightness: +20%);
|
||||
|
||||
@if $dark-theme {
|
||||
$text-color: color.adjust($color-1, $lightness: -10%);
|
||||
$text-highlight: color.adjust($color-1, $lightness: +10%);
|
||||
$color-highlight: color.adjust($color-highlight, $lightness: +10%);
|
||||
|
||||
$link-color: color.adjust($color-3, $lightness: -5%);
|
||||
$link-hover-color: color.adjust($color-3, $lightness: +10%);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue