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
Method sendMail() in UserServiceImp.java uses a fixed URL pointing to "localhost" to recover password. This has the effect of link not redirecting to the right API URL when a user tries to recover its password, for "localhost" links will pop up as its own machine IP address.
Expected behavior
Recovery URL should point to an API RestPoint within the server domain
Code
Stringhtml = "Hola " + name + "! \n" + "¿olvidaste tu contraseña? \n"
+ "Recibimos una petición para restablecer tu contraseña\n"
+ "Para restablecer tu contraseña por favor presiona clic en el siguiente enlace \n"
+ "http://localhost:8081/api/v1/reset-password?token=" + token;
message.setText(html);
The text was updated successfully, but these errors were encountered:
Method sendMail() in UserServiceImp.java uses a fixed URL pointing to "localhost" to recover password. This has the effect of link not redirecting to the right API URL when a user tries to recover its password, for "localhost" links will pop up as its own machine IP address.
Expected behavior
Recovery URL should point to an API RestPoint within the server domain
Code
The text was updated successfully, but these errors were encountered: