Fix invite empty email

This commit is contained in:
Daniel García committed 2019-01-22 17:26:17 +01:00
1 parent b8cabadd43
commit ddd49596ba
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@
}
function deleteUser(id, mail) {
var input_mail = prompt("To delete user '" + mail + "', please type the name below")
if (input_mail) {
if (input_mail != null) {
if (input_mail == mail) {
_post("/admin/users/" + id + "/delete",
"User deleted correctly",