Welcome Guest Search | Active Topics | Log In | Register

Plain Password Options · View
agrodude
#1 Posted : Wednesday, June 25, 2008 10:21:35 PM

Rank: YAF Forumling



Joined: 4/6/2008
Posts: 5
Location: Ipswich
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
agrodude
#2 Posted : Friday, June 27, 2008 12:34:54 PM

Rank: YAF Forumling



Joined: 4/6/2008
Posts: 5
Location: Ipswich
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC1 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.062 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET