[Mediawiki-l] Resetting a forgotten password

Rick DeNatale rick.denatale at gmail.com
Tue Jan 17 20:47:37 UTC 2006


On 1/17/06, Sy Ali <sy1234 at gmail.com> wrote:
> Is there the facility to get or reset a user's lost password when
> email functions have been turned off?

I don't think that there's a facility to do this, however -

The user table in the database stores the MD5 hash of the password
salted with the user id, if you can generate this hash value you can
manually reset a password via an SQL update.  It ain't pretty but
failing all else...

Details of how the password is salted can be found in User.php

Good luck
--
Rick DeNatale

Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/



More information about the MediaWiki-l mailing list