diff --git a/src/static/admin.html b/src/static/admin.html
index 1af6ca59..35b0de58 100644
--- a/src/static/admin.html
+++ b/src/static/admin.html
@@ -66,8 +66,13 @@
row.find(".tmp-icon").attr("src", identicon(user.Email))
row.find(".tmp-del").on("click", function (e) {
- if (confirm("Delete User '" + user.Name + "'?")) {
- deleteUser(user.Id);
+ var name = prompt("To delete user '" + user.Name + "', please type the name below")
+ if (name) {
+ if (name == user.Name) {
+ deleteUser(user.Id);
+ } else {
+ alert("Wrong name, please try again")
+ }
}
return false;
});