YAFLogo

agrodude
  • agrodude
  • 53% (Neutral)
  • YAF Forumling Topic Starter
15 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
15 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.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button