1
Nick_James
Password recovery error

Customer complained that the password recovery did not work.

On testing it, I found that the link in the first email was not functional.

The link was acting as an email link and not a htm link. If I cut and paste the entire line, then the code works properly. However, if I click on the link, it tries to send an email. The red parts of the line are the parts of the line that should be included in the link.

example
Hello xxxxx,

A web user from xx.xxx.xxx.x has just requested a new password for your profile at xxxxxx
.
You can get your new password by clicking on the link below:


http://mysite.com/modules/profile/lostpass.php?email=xxxxxx@xxxx.xxx&code=0c4b9

If you didn't ask for this, don't worry. Just delete this Email.

-----------------------------------------------------------------
end example

2
Mamba
Re: Password recovery error
  • 2013/9/4 22:05

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I think, it depends on his email client, and his settings.

I just tested on MS Outlook and on-line in Gmail, and it both cases it was fine.

In Outlook, I even changed between:

- Plain Text
- HTML
- Rich Text

and in all cases the link was interpreted correctly.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
Nick_James
Re: Password recovery error

Good point.

Same email message worked appropriately on my iPhone and on my iPad.

4
Nick_James
Re: Password recovery error

Don't know what the customer was getting their email on.

I was using web mail by GoDaddy.

Owned by: Special Domain Services, LLC
Address: https//xxx.secureserver.net/webmail.php
Type: text/html
Render Mode: Standard compliance mode
Encoding: UTF-8

5
Nick_James
Re: Password recovery error

Forwarded same message to Google mail. Works fine in online Googlemail also.


6
Nick_James
Re: Password recovery error

Notice how the XOOPS site has the same error, but a slightly different cutout.

The text in blue, from email on, was done by the site.

Lets try a cut and paste without the color codes in the line.

http://mysite.com/modules/profile/lostpass.php?email=xxxxxx@xxxx.xxx&code=0c4b9

7
Nick_James
Re: Password recovery error

eeek. what happened.

8
Nick_James
Re: Password recovery error


9
Nick_James
Re: Password recovery error

Second time, turning off the Enable Xoops Code and smileys

http://mysite.com/modules/profile/lostpass.php?email=xxxxxx@xxxx.xxx&code=0c4b9

10
Nick_James
Re: Password recovery error

Lets put quotes about what I am pasting:

"http://mysite.com/modules/profile/lostpass.php?email=xxxxxx@xxxx.xxx&code=0c4b9"

Login

Who's Online

451 user(s) are online (317 user(s) are browsing Support Forums)


Members: 0


Guests: 451


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits