mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 12:40:22 -05:00
fix
This commit is contained in:
parent
0f98f3959a
commit
2cd8c75a09
@ -28,7 +28,7 @@ public class CurrentContext : ICurrentContext
|
||||
|
||||
public virtual HttpContext HttpContext { get; set; }
|
||||
public virtual Guid? UserId { get; set; }
|
||||
public virtual Lazy<Task<User>> UserAsync { get; private set; }
|
||||
public virtual Lazy<Task<User>> UserAsync { get; private set; } = new(() => Task.FromResult<User>(null));
|
||||
public virtual string DeviceIdentifier { get; set; }
|
||||
public virtual DeviceType? DeviceType { get; set; }
|
||||
public virtual string IpAddress { get; set; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user