You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings -> User Settings -> Change your password
Entering the email address here (which shouldn't really be required since it's on the profile) and selecting "Reset Password" results in an error.
auth.js:26 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'value')
at Object.resetPassword (auth.js:26:60)
at HTMLButtonElement.onclick (VM1334 password-reset:112:163)
The text was updated successfully, but these errors were encountered:
The main correction here was changing the login-email IDs to sign-in-email IDs in the reset password templates. A loading button and ID for the reset password button were also needed. Finally, a small script was added to populate the email input with the user's email if the user is already signed in.
<!-- JavaScript to get any signed-in user's email. --><script>cannabisdata.firebase.onAuthChange(function(user){if(user!==null)document.getElementById('sign-in-email').value=user.email;});</script>
Settings -> User Settings -> Change your password
Entering the email address here (which shouldn't really be required since it's on the profile) and selecting "Reset Password" results in an error.
The text was updated successfully, but these errors were encountered: