mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02: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') {
|
} else if (data.stat === 'fail') {
|
||||||
$("#UserList .update-user-fail").html(data.message);
|
$("#UserList .update-user-fail").html(data.message);
|
||||||
$("#UserList .update-user-fail").fadeIn();
|
$("#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