Forgot password email sends invalid link
-
Hi,
For some reason, the forgot password has an invalid link in it. Instead of sending https://example.com/reset/randomletters, it sends https://example.com:8080/reset/randomletters, which results in a page not found error. How can I fix this?
Thanks -
I think it depends on your
"url": "http://nodebb-username.rhcloud.com:8080",
option in config.json file. -
It will not work without port 8080 (OPENSHIFT_NODEJS_PORT) but you can try to modify email templates.
-
You need to cut the port out of the
url
within the config.json, put it into theport
attribute.{ "url": "http://example.com", "port": 8080 }
Copyright © 2024 NodeBB | Contributors