diff options
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/User.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Library/IUserManager.cs | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/User.cs b/MediaBrowser.Controller/Entities/User.cs index 1fca676a92..01a7486b31 100644 --- a/MediaBrowser.Controller/Entities/User.cs +++ b/MediaBrowser.Controller/Entities/User.cs @@ -32,7 +32,7 @@ namespace MediaBrowser.Controller.Entities /// </summary> /// <value>The password.</value> public string Password { get; set; } - public string LocalPassword { get; set; } + public string EasyPassword { get; set; } public string ConnectUserName { get; set; } public string ConnectUserId { get; set; } diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.cs index f5846973eb..5aa58aa572 100644 --- a/MediaBrowser.Controller/Library/IUserManager.cs +++ b/MediaBrowser.Controller/Library/IUserManager.cs @@ -118,6 +118,13 @@ namespace MediaBrowser.Controller.Library Task ResetPassword(User user); /// <summary> + /// Resets the easy password. + /// </summary> + /// <param name="user">The user.</param> + /// <returns>Task.</returns> + Task ResetEasyPassword(User user); + + /// <summary> /// Changes the password. /// </summary> /// <param name="user">The user.</param> @@ -126,6 +133,14 @@ namespace MediaBrowser.Controller.Library Task ChangePassword(User user, string newPasswordSha1); /// <summary> + /// Changes the easy password. + /// </summary> + /// <param name="user">The user.</param> + /// <param name="newPasswordSha1">The new password sha1.</param> + /// <returns>Task.</returns> + Task ChangeEasyPassword(User user, string newPasswordSha1); + + /// <summary> /// Gets the user dto. /// </summary> /// <param name="user">The user.</param> |
