-
-
Notifications
You must be signed in to change notification settings - Fork 798
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
Bug forgot password #3851
Comments
I just tested on osx and it's working. By the looks of your error this may be a window specific issue. |
@Wykaz can you check if you something else set to open .html files in windows settings? If you don't have anything set it prompts you. If you have it set to something else change it to your default browser |
@Wykaz there could be a problem with where it stores the files, try changing await previewEmail(msg, { open: true, dir: join(process.cwd(), "./tmp") }) |
Thank you for taking the time to resolve the issue.
I tried with it and it doesn't work, it gives the same error. |
@Wykaz I think the problem lies with previewEmail not being able to read your process.env.SYSTEMROOT environment variable to launch PowerShell
The path to PowerShell should have been Can you check if the problem resolves if you manually set the systemroot in your project's
or the output that you get when executing |
May I know why SYSTEMROOT="C:\WINDOWS" is not working if i put it only inside .env.local but it is working if i put it only inside .env? |
What is the problem?
On a new project, the forgotten password option does not work.
Paste all your error logs here:
Paste all relevant code snippets here:
I think it comes from here
mailers/forgetPasswordMailer.js
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response
The text was updated successfully, but these errors were encountered: