mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-25 05:10:20 +00:00
add mail check
This commit is contained in:
parent
0c085d21ce
commit
379f885354
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue