-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zod email validation fails for subdomains with hyphens #2867
Comments
Hi Christoph -- I'm unable to replicate this issue. I just reset passwords on a few test accounts successfully. Can you let me know what browser you're using and, if possible, please go through the password reset flow again and, on the page where you type in the new password, before typing in the new password, open the network tab of the developer tools in your browser and send a screenshot of what you see there when you submit the new password? Since that screenshot could contain sensitive information, you can send it to hello@pubpub.org. |
Thank you for the quick answer! I'm using Firefox and Chrome (each of them the current version). Did you received my email? |
Adding from our conversation so devs can take a look: the issue is a known with with zod's email validation with hyphens. See: colinhacks/zod#2540 |
This should have been solved by #2870 |
Dear all,
I'm having trouble resetting my password. The "Forgot Password" button at the login page works, I get the email with a link to the site where I can choose a new password. However, when I try to login using this new password I get an error message (attachment). Other community members have the same problem.
Many thanks
![pubpub-login-failed](https://private-user-images.githubusercontent.com/82641399/273928028-7cf02d28-301b-4255-825a-1486a6809d26.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MzMxMjAsIm5iZiI6MTcyMDUzMjgyMCwicGF0aCI6Ii84MjY0MTM5OS8yNzM5MjgwMjgtN2NmMDJkMjgtMzAxYi00MjU1LTgyNWEtMTQ4NmE2ODA5ZDI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDEzNDcwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0MDAyM2Q0MTBiZDg1NjgwMzFjMmY1NWIyZWI2NmM1ODgxMTNiZDI5MzNiMTdiMjc2Y2JhMjRmZDVhMTRjYmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Fm40Vmy6CkkwYmX9ZIEtmH9LpgLKbM3tcTNhVmOr99g)
Christoph
The text was updated successfully, but these errors were encountered: