nopfinance
2018-07-28T14:24:21Z
I just installed YAF. I stepped through all the installation steps and entered an administration account with a simple user name and simple password.

After completion I see a record in the users table.

Nevertheless YAF keeps telling me my the account or password is invalid.

I tried this installation two times. Once without and once with AspNetSqlMembershipProvider enabled

I can't get my finger behind this issue...
any help would be nic

I am a yaf newbie! first time installation
Sponsor
nopfinance
2018-07-28T14:27:44Z
btw

The yaf_user record shows 'na' in the password field

nopfinance
2018-07-28T17:09:30Z
I noticed one more thing:

I registered a new user with username 'test' and password 'test12'

Upon registration I was automatically logged in.

Then I logged out.

Next when I try to login with test, test12 I received the error that my account or password are incorrect.

I now have the source code running on my development computer. Where does the actual username / password get checked, in what c# function?
tha_watcha
2018-07-28T22:59:01Z
Please change the hashAlgorithmType to SHA1 in the web.config

from-...
<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="HMACSHA256">


to
 <membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">


You also need to clear the database
UserPostedImage
nopfinance
2018-07-29T12:34:13Z
thx. I'll try this later
nopfinance
2018-07-29T21:09:21Z
SHA1 was indeed the solution!

Request: Set SHA1 default in the webconfig, instead of SHA256. Saves ignorant users like me a lot of time....

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved