mirror of
https://github.com/bitwarden/server.git
synced 2025-05-23 12:31:06 -05:00
Add userId to auth success response
This commit is contained in:
parent
a07cce26f3
commit
e1d6caa10f
@ -230,6 +230,7 @@ public abstract class BaseRequestValidator<T> where T : class
|
|||||||
customResponse.Add("KdfMemory", user.KdfMemory);
|
customResponse.Add("KdfMemory", user.KdfMemory);
|
||||||
customResponse.Add("KdfParallelism", user.KdfParallelism);
|
customResponse.Add("KdfParallelism", user.KdfParallelism);
|
||||||
customResponse.Add("UserDecryptionOptions", await CreateUserDecryptionOptionsAsync(user, device, GetSubject(context)));
|
customResponse.Add("UserDecryptionOptions", await CreateUserDecryptionOptionsAsync(user, device, GetSubject(context)));
|
||||||
|
customResponse.Add("UserId", user.Id.ToString());
|
||||||
|
|
||||||
if (sendRememberToken)
|
if (sendRememberToken)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user