Subject | Re: [firebird-support] Membership provider, hash passwords, login |
---|---|
Author | Mercea Paul |
Post date | 2012-09-17T18:50:02Z |
On 2012.09.17 5:45 PM, Vasilis .. wrote:
I had the same problem as you, nobody answered to this problem. Good
news , it's not a bug, just documentation issue.
I found that the algorithm used before .Net 4 was SHA1 and from .Net 4
is SHA256 .
The solution for your trouble is to specify in web.config for membership
to use :
<membership defaultProvider="DefaultMembershipProvider"
hashAlgorithmType="SHA256">
HTH,
Paul
[Non-text portions of this message have been removed]
>Hi Vasilis
>
>
> Greets, anyone has come up with this problem: In a ASP.NET website i
> develop, using the membership provider and having hashed passwords in
> the database the user cannot login If i change the password storage to
> "clear" the login works fine. Any idea how to solve this or is it a
> known bug? Thanks
>
I had the same problem as you, nobody answered to this problem. Good
news , it's not a bug, just documentation issue.
I found that the algorithm used before .Net 4 was SHA1 and from .Net 4
is SHA256 .
The solution for your trouble is to specify in web.config for membership
to use :
<membership defaultProvider="DefaultMembershipProvider"
hashAlgorithmType="SHA256">
HTH,
Paul
[Non-text portions of this message have been removed]