From 96a89c01669a93d4139bebe5a3dc98f23f4dac0b Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 2 Jul 2018 10:16:20 +0100 Subject: [PATCH] Re-added attributes which were mistakenly deleted --- src/Umbraco.Core/Services/Implement/UserService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Umbraco.Core/Services/Implement/UserService.cs b/src/Umbraco.Core/Services/Implement/UserService.cs index c791b56b56..31e81679d8 100644 --- a/src/Umbraco.Core/Services/Implement/UserService.cs +++ b/src/Umbraco.Core/Services/Implement/UserService.cs @@ -227,6 +227,9 @@ namespace Umbraco.Core.Services.Implement Save(membershipUser); } + + [Obsolete("ASP.NET Identity APIs like the BackOfficeUserManager should be used to manage passwords, this will not work with correct security practices because you would need the existing password")] + [EditorBrowsable(EditorBrowsableState.Never)] public void SavePassword(IUser user, string password) { if (user == null) throw new ArgumentNullException(nameof(user));