YAFLogo

agrodude
  • agrodude
  • 53% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
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

Sponsor
agrodude
  • agrodude
  • 53% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
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.