Revert "Fix emby/user/public API leaking sensitive data"

This commit is contained in:
Joshua M. Boniface
2020-05-26 12:14:40 -04:00
committed by GitHub
parent 976ae36bea
commit 0be3dfe7c5
4 changed files with 11 additions and 108 deletions

View File

@@ -143,14 +143,6 @@ namespace MediaBrowser.Controller.Library
/// <returns>UserDto.</returns>
UserDto GetUserDto(User user, string remoteEndPoint = null);
/// <summary>
/// Gets the user public dto.
/// </summary>
/// <param name="user">Ther user.</param>\
/// <param name="remoteEndPoint">The remote end point.</param>
/// <returns>A public UserDto, aka a UserDto stripped of personal data.</returns>
PublicUserDto GetPublicUserDto(User user, string remoteEndPoint = null);
/// <summary>
/// Authenticates the user.
/// </summary>