Page 1 of 1

Link in notification email for password reset is incorrect

Posted: 01 Apr 2010, 19:31
by dmathur
I am a administrator for mantis running on Ubuntu Linux laptop. I have a static IP address and a domain name (deepak.verizon.com) for this laptop.

When I reset a user's password - he gets a email:
"Someone (presumably you) requested a password change through e-mail verification. If this was not you, ignore this message and nothing will happen.\n\nIf you requested this verification, visit the following URL to change your password:

http://localhost/mantis/verify.php?id=3 ... ad5541d475


Username: deepak
Remote IP address: ::1

DO NOT REPLY TO THIS MESSAGE"

The above link contains "localhost" in the domain name. The correct link should be:

http://deepak.verizon.com/mantis/verify ... ad5541d475

What should I do fix this?

Regards
Deepak

Re: Link in notification email for password reset is incorre

Posted: 04 Apr 2010, 13:26
by atrol
try setting
$g_path = 'http://deepak.verizon.com/mantis/';
in your config_inc.php

Re: Link in notification email for password reset is incorre

Posted: 07 Apr 2010, 19:26
by dmathur
Thank you for your reply. Your suggestion worked well.

But as a side effect - it has changed the look and feel of the all the mantis windows. The fonts have changed and the buttons have gone out of place.

Regards
Deepak

Re: Link in notification email for password reset is incorre

Posted: 07 Apr 2010, 19:43
by atrol
Links to screenshots before and after the customization will help to get a better impression of this problem

Re: Link in notification email for password reset is incorre

Posted: 07 Apr 2010, 20:01
by dmathur
Thanks - everything is working perfectly. Appreciate your help.

Regards
Deepak

Re: Link in notification email for password reset is incorre

Posted: 05 Nov 2010, 16:36
by fmagh
Hello

I know that it's a old post.but I have the same problem.
If you remenber the solution, could you send it.

thanks
Fred

Re: Link in notification email for password reset is incorre

Posted: 05 Nov 2010, 20:33
by atrol
The solution (at least partial) was to set $g_path
This was neccessary for some older versions of MantisBT