1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-13 20:21:22 +01:00

added security stamp to profile

This commit is contained in:
Kyle Spearrin 2017-06-02 13:18:47 -04:00
parent ef3d5ee10c
commit 8e9aae10ef

View File

@ -25,6 +25,7 @@ namespace Bit.Core.Models.Api
TwoFactorEnabled = user.TwoFactorEnabled;
Key = user.Key;
PrivateKey = user.PrivateKey;
SecurityStamp = user.SecurityStamp;
Organizations = organizationsUserDetails?.Select(o => new ProfileOrganizationResponseModel(o));
}
@ -36,6 +37,7 @@ namespace Bit.Core.Models.Api
public bool TwoFactorEnabled { get; set; }
public string Key { get; set; }
public string PrivateKey { get; set; }
public string SecurityStamp { get; set; }
public IEnumerable<ProfileOrganizationResponseModel> Organizations { get; set; }
}
}