YAFLogo

sfkhooper
  • sfkhooper
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I've just installed YAF to a subdirectory of my main asp.net website. I had quite a bit of trouble with it, particularly with merging the web.config files and the mixed vb/c# languages, but I seem to have got past all that.

The situation I have now is that nobody, not even the admin user, can login. At the login challenge they are told if an incorrect username/password has been entered, but if the correct username/password is entered then they are just taken back to default.aspx with the login link still active and the forums completely locked.

I should point out that password reminders do work, ie I can retrieve passwords via email.

Any thoughts?

Sponsor
sfkhooper
  • sfkhooper
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Does nobody have a suggestion? I'm getting pretty desperate here.
herman_herman
13 years ago

Does nobody have a suggestion? I'm getting pretty desperate here.

sfkhooper wrote:

Which version?

sfkhooper
  • sfkhooper
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
LondonPop
13 years ago
Same problem for me upgrading from 1.91 to 1.94. All went well until the upgrade was finished. Now no one can log in.

Thanks in advance, Daniel

herman_herman
13 years ago
Hi

Change this:

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="MD5">
  <providers>
    <clear/>
      <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" hashHex="true" hashCase="upper" />
    </providers>
  </membership>

To this:

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
  <providers>
    <clear/>
      <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" 
requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" useSalt="true" />
    </providers>
  </membership>

and see if it works...

For paid support you can check here