Skip to content

Commit f29ae13

Browse files
authored
Merge pull request #86 from rcyq/master
Fixed Authenticate action in TokenAuthController not returning UserId
2 parents 9654fe1 + 90db66a commit f29ae13

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)