I can’st get current user’s email
I did:
let Emailset = wixUsers.currentUser.getEmail();
$w("#Email").value = Emailset
but it’s empty in the input
I also tried:
let Userinfo = wixUsers.currentUser;
$w("#Email").value = Userinfo.email
it’s still empty.
Please teach me how can I get current user’s email.