Moves logic for checking if the current user (based on the current thread) is an admin and in which case can reset the password to an extension method
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Umbraco.Web.Editors
|
||||
public IDictionary<string, object> GetMembershipProviderConfig()
|
||||
{
|
||||
var provider = Core.Security.MembershipProviderExtensions.GetUsersMembershipProvider();
|
||||
return provider.GetConfiguration();
|
||||
return provider.GetConfiguration(Services.UserService);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user