I am trying to work out how to configure the change password process for Umbraco users. I have a requirement for any new passwords for back end user accounts must be unique and can't be recycled.
How to I "break into" this change password process. I can see how you do it with the login process by inheriting from "umbraco.providers.members.UmbracoMembershipProvider". How to you do this with Change Password?
Also I'll need to salt and hash the prospective password with the same salt as the umbraco process. I have found a method for this:
HashPasswordForStorage in membership provider base. How do I use this? Does MembershipProvider inherit this class?
For users? i kind of remember something about them on 2 different systems. the method i mention and you tried definitely works for Members in all versions of 7.x i used.
But i cant help with users sorry, if you figure it out let us know! :)
Password history of Umbraco Users NOT members
I am trying to work out how to configure the change password process for Umbraco users. I have a requirement for any new passwords for back end user accounts must be unique and can't be recycled.
How to I "break into" this change password process. I can see how you do it with the login process by inheriting from "umbraco.providers.members.UmbracoMembershipProvider". How to you do this with Change Password?
Also I'll need to salt and hash the prospective password with the same salt as the umbraco process. I have found a method for this:
HashPasswordForStorage in membership provider base. How do I use this? Does MembershipProvider inherit this class?
Any help gratefully received?
Head scratching moment:
So I've created a class that inherits from
Then overridden the
and updated the web.config to find the new provider...
and set a breakpoint...and nothing. VS doesn't hit it.
Am I missing something to override the change password function.
Bump
I answerd in https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/92429-password-history#comment-318353 how i did it for members honestly cant remember if users is different did you set your default provider in the web.config to the one you made?
Also i think maybe
ChangePasswordwhich is public is what your looking to override notPerformChangePasswordIt seems all the old Membership provider stuff floating around Stack and this forum is out of date.
Umbraco > 7.something is using the .net Identity membership system so any custom providers are ignored.
Would have saved myself a bunch of time.
Thanks Perry
For users? i kind of remember something about them on 2 different systems. the method i mention and you tried definitely works for Members in all versions of 7.x i used.
But i cant help with users sorry, if you figure it out let us know! :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.