mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
More cleanup
This commit is contained in:
parent
4441513ca4
commit
ea8f40e84a
46 changed files with 135 additions and 203 deletions
|
|
@ -47,7 +47,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
|||
{
|
||||
var session = await GetSession(requestContext).ConfigureAwait(false);
|
||||
|
||||
return session == null || session.UserId.Equals(Guid.Empty) ? null : _userManager.GetUserById(session.UserId);
|
||||
return session.UserId.Equals(Guid.Empty) ? null : _userManager.GetUserById(session.UserId);
|
||||
}
|
||||
|
||||
public Task<User?> GetUser(object requestContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue