faqts : Computers : Software : FreeTrade

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

i can't change users or admins password. it says: Login in use. "UPDATE_LOGIN_PASSWORD" failed!

Nov 20th, 2003 08:05
Jeremy Wood, josh dickens,


I ran into this same problem.  I joined the dev mailing list and got a
response quite quickly that fixed the problwem.  Now mind you this is
not an *official* fix yet, but this is what fixed it:

in this file: UPDATE_LOGIN_PASSWORD

>> if(!isLoginUnique($_REQUEST['inputLogin'], $ID))

Looks suspicious and probably should be changed to:

>> if(!isLoginUnique($_REQUEST['inputLogin'], $_REQUEST['ID']))


and so should:

>> if(USE_AUTOLOGIN AND ($ID == $UserInfo["ID"]))

be changed to 

>> if(USE_AUTOLOGIN AND ($_REQUEST['ID'] == $UserInfo["ID"]))

HTH!