YAFLogo

jyan_osu
  • jyan_osu
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
I'm running the first alpha of YAF and when I update to the new 1.9.3 beta I can't login anymore. I login fine with the alpha. As soon as I install the beta and go through the update via install/default.aspx I can't login anymore. I can see the posts fine but no login works. Any suggestions?

BTW: This is on a SQL Server 2k5 instance

Sponsor
jyan_osu
  • jyan_osu
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
I think I narrowed it down to line 140 of YafMembershipProvider.cs . WHen it encodes the password it's different than what is in the database. I've checked the old and updated database and it has the same encrypted password and passwordsalt. Did something change from the 1.9.3 first alpha to the beta?
Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
16 years ago
Is machine key in web.config the same for alpha and beta setup?
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
jyan_osu
  • jyan_osu
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago

Is machine key in web.config the same for alpha and beta setup?

Ederon wrote:

Hmm there is no machine key entry in the web.config in either the new one or the old one

jyan_osu
  • jyan_osu
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
OK I took WinMerge and checked the differences between the old web.config and the new one.. the old one had hasAlgorithmType="MD5" while the one in the beta has

hasAlgorithmType="SHA1"

The other change I had to make was the old one did not have useSalt="true" in the connectionStringName element in the YafMembershipProvider membership tag area. Took that out and now I can login fine.