mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixed #1880 Changing email to a wrong email does not block the user after validation
This commit is contained in:
@@ -1407,6 +1407,11 @@ function update_user_info() {
|
||||
} else if (data.stat === 'fail') {
|
||||
$("#UserList .update-user-fail").html(data.message);
|
||||
$("#UserList .update-user-fail").fadeIn();
|
||||
$(".update-user-button i").addClass("icon-floppy").removeClass("icon-spin6 animate-spin");
|
||||
$(".update-user-button").removeClass("unclickable");
|
||||
setTimeout(() => {
|
||||
$("#UserList .update-user-fail").fadeOut();
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user