Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Can't change my password and can't login XMLHTTP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can't change my password and can't login XMLHTTP

 Post Reply Post Reply
Author
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Topic: Can't change my password and can't login XMLHTTP
    Posted: 13 October 2014 at 1:33pm
Hi,

Using v11.01 (upgraded from v9.69)

Some users on my forum can't change their own password in the MEMBER CONTROL PANEL and can't login with the XMLHTTP login form.

After investigation it seem that member with special characters and spaces in their username can't do both.

If blnEncryptedPasswords Then
   strPassword = strPassword & rsCommon("Salt")
   strPassword = HashEncode(strPassword)
End If

For some reason , the HashEncode(strPassword) never return the same password as the one stored in the DB for the users with spaces or special char. , at least for the HTTPAPI.asp.

But theses users can login in the forum no problem, only issues are : changing password and login with the HTTPAPI.asp method LoginMemberCookie .


Any idea or solution ? 

Thanks


Edited by MaximeRoy77 - 13 October 2014 at 1:52pm
Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2014 at 1:55pm
Error when changing password for my user : "m@x"




Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2014 at 2:47pm
Part of the answer  to my problem ? I am going to try it




Edited by MaximeRoy77 - 13 October 2014 at 2:55pm
Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2014 at 3:13pm
it worked in the HTTPAPI.asp, here's what I added


Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2014 at 3:14pm
Now I need to fix the change password function ;-(
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.