We're updating the issue view to help you get more done. 

Reset password do not send the good link - email - bis

Description

**Given **
Songbird open but user not connected

User: cbourgeois@wazo.io

Domain: demo.wazo.community

**When **
User ask for a password reset

**Then **
1/ An email is received but the link is not the good one:

https://songbird.wazo.io/?host=10.0.210.209&token=7c33455e-9480-459f-8d84-ad8c9733f43a&user_uuid=e2a3f96a-8c6e-4b4d-aaea-37bef2f0a16e#reset-password

**Expected **
1/ The link should be the good one:

https://songbird.wazo.io/?host=demo.wazo.community&token=7c33455e-9480-459f-8d84-ad8c9733f43a&user_uuid=e2a3f96a-8c6e-4b4d-aaea-37bef2f0a16e#reset-password

2/ text:

Hello name

It seems you forgot your Wazo password.
We are going to assist you to get back to business.

If you do not ask to set a new password, please ignore that email.

To set a new password, just click on the link bellow:

Reset Link

Wazo team which you a great day

**Other information **

Link contains an IP and not the domain name

Workaround

Edit /var/lib/wazo-auth/templates/password_reset_email.jinja and replace {{{{ hostname }}}} with your real Wazo Platform hostname.

Environment

None

Activity

Show:
Pascal Cadotte
February 4, 2020, 2:16 PM

The current implementation uses the advertised address from service discovery. My guess is that service discovery is also broken on that since its advertising its local IP address.

Assignee

Pascal Cadotte

Reporter

Clément Bourgeois

Approvers

François Blackburn

Pair

None

Sprint

None

Fix versions

Priority

Medium
Configure