Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
After I migrated the SQL database from Umbraco 8 to 10, members can't login.
How can I change the way Umbraco 10 hashes passwords so that it uses the same method as Umbraco 8?
The web.config from Umbraco 8 is:
<add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco.Web" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" useLegacyEncoding="false" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" allowManuallyChangingPassword="true" maxInvalidPasswordAttempts="10" />
Thanks for any help.
Umbraco 10 can use several different hashing algorithms in the same application while Umbraco 8 uses HMACSHA256 by default.
You can change the hashing algorithm for a specific member by setting the passwordConfig field in their cmsMember table record.
For HMACSHA256, for example, you would set the field to {"hashAlgorithm":"HMACSHA256"}. (curly braces need to be included)
The valid values are:
"PBKDF2.ASPNETCORE.V3" "PBKDF2.ASPNETCORE.V2" "HMACSHA256" "HMACSHA1"
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Members unable to login after upgrading to Umbraco 10 from 8
After I migrated the SQL database from Umbraco 8 to 10, members can't login.
How can I change the way Umbraco 10 hashes passwords so that it uses the same method as Umbraco 8?
The web.config from Umbraco 8 is:
Thanks for any help.
Umbraco 10 can use several different hashing algorithms in the same application while Umbraco 8 uses HMACSHA256 by default.
You can change the hashing algorithm for a specific member by setting the passwordConfig field in their cmsMember table record.
For HMACSHA256, for example, you would set the field to {"hashAlgorithm":"HMACSHA256"}. (curly braces need to be included)
The valid values are:
"PBKDF2.ASPNETCORE.V3" "PBKDF2.ASPNETCORE.V2" "HMACSHA256" "HMACSHA1"
is working on a reply...