mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-01-23 07:08:41 +00:00
add mail check
This commit is contained in:
parent
0c085d21ce
commit
379f885354
2
src/static/scripts/admin_users.js
vendored
2
src/static/scripts/admin_users.js
vendored
@ -125,7 +125,7 @@ function resendUserInvite (event) {
|
|||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
const id = event.target.parentNode.dataset.vwUserUuid;
|
const id = event.target.parentNode.dataset.vwUserUuid;
|
||||||
const email = event.target.parentNode.dataset.vwUserEmail;
|
const email = event.target.parentNode.dataset.vwUserEmail;
|
||||||
if (!id) {
|
if (!id || !email) {
|
||||||
alert("Required parameters not found!");
|
alert("Required parameters not found!");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user