1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 13:08:17 -05:00
This commit is contained in:
Jonas Hendrickx 2025-04-04 14:16:45 +02:00
parent 0f98f3959a
commit 2cd8c75a09
No known key found for this signature in database
GPG Key ID: C4B27F601CE4317D

View File

@ -28,7 +28,7 @@ public class CurrentContext : ICurrentContext
public virtual HttpContext HttpContext { get; set; } public virtual HttpContext HttpContext { get; set; }
public virtual Guid? UserId { 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 string DeviceIdentifier { get; set; }
public virtual DeviceType? DeviceType { get; set; } public virtual DeviceType? DeviceType { get; set; }
public virtual string IpAddress { get; set; } public virtual string IpAddress { get; set; }