1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-09 19:22:42 +00:00

Fix invite empty email

This commit is contained in:
Daniel García 2019-01-22 17:26:17 +01:00
commit ddd49596ba
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
2 changed files with 9 additions and 1 deletions

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",