mirror of
https://dev.azure.com/tstanciu94/Tuitio/_git/Tuitio
synced 2025-03-28 23:52:20 +02:00
UpdateUserAfterLogin fix
This commit is contained in:
parent
eefa23b3b8
commit
8b7e4b1e64
@ -49,7 +49,7 @@ namespace Tuitio.Domain.Data.Repositories
|
||||
UserId = token.UserId,
|
||||
Token = tokenRaw,
|
||||
ValidFrom = token.CreatedAt,
|
||||
ValidUntil = token.CreatedAt.AddMilliseconds(token.ExpiresIn)
|
||||
ValidUntil = token.CreatedAt.AddSeconds(token.ExpiresIn)
|
||||
};
|
||||
|
||||
await _dbContext.AddAsync(userToken);
|
||||
|
Loading…
x
Reference in New Issue
Block a user