Skip to content

Commit 90db66a

Browse files
authored
Fixed Authenticate action in TokenAuthController not returning UserId
1 parent 9654fe1 commit 90db66a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Core/Controllers/TokenAuthController.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public async Task<AuthenticateResultModel> Authenticate([FromBody] AuthenticateM
6565
{
6666
AccessToken = accessToken,
6767
EncryptedAccessToken = GetEncrpyedAccessToken(accessToken),
68-
ExpireInSeconds = (int)_configuration.Expiration.TotalSeconds
68+
ExpireInSeconds = (int)_configuration.Expiration.TotalSeconds,
69+
UserId = loginResult.User.Id
6970
};
7071
}
7172

0 commit comments

Comments
 (0)