0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-02 03:58:58 +02:00

add mail check

This commit is contained in:
Nikolay Nikolaev 2023-03-31 13:00:57 +03:00
parent 0c085d21ce
commit 379f885354

View file

@ -125,7 +125,7 @@ function resendUserInvite (event) {
event.stopPropagation();
const id = event.target.parentNode.dataset.vwUserUuid;
const email = event.target.parentNode.dataset.vwUserEmail;
if (!id) {
if (!id || !email) {
alert("Required parameters not found!");
return false;
}