YAFLogo

Posted by: agrodude - Wednesday, 25 June 2008 13:21:35
Hi Guys and Gals! Please could you help me? I am storing plain passwords in the yaf_User table. This means that when the user goes to login it does not recognise their password and they have to get an email reminder. How can I get YAF to accept plain passwords in the database instead of encrypted ones? Yours forever, Agrodude

Posted by: agrodude - Friday, 27 June 2008 03:34:54
Thanks to Jaben for pointing out the following line: string sPassword = FormsAuthentication.HashPasswordForStoringInConfigFile( Password.Text, "md5" ); I have now added this to my SQL subroutine on my registration and login pages.