Hello,
I have the following code setup on a lightbox for users to reset their passwords
import wixUsers from ‘wix-users’;
export function errorText_click(event) {
wixUsers.promptForgotPassword()
.then(() => {
console.log(“Password reset submitted”);
})
. catch ((err) => {
let errorMsg = err; // “The user closed the forgot password dialog”
});
}
The code is working on Safari but NOT on Chrome, is there a reason why? And what is the fix for this? Thanks!