UpdateUserAfterLogin fix
parent
eefa23b3b8
commit
8b7e4b1e64
|
@ -49,7 +49,7 @@ namespace Tuitio.Domain.Data.Repositories
|
||||||
UserId = token.UserId,
|
UserId = token.UserId,
|
||||||
Token = tokenRaw,
|
Token = tokenRaw,
|
||||||
ValidFrom = token.CreatedAt,
|
ValidFrom = token.CreatedAt,
|
||||||
ValidUntil = token.CreatedAt.AddMilliseconds(token.ExpiresIn)
|
ValidUntil = token.CreatedAt.AddSeconds(token.ExpiresIn)
|
||||||
};
|
};
|
||||||
|
|
||||||
await _dbContext.AddAsync(userToken);
|
await _dbContext.AddAsync(userToken);
|
||||||
|
|
Loading…
Reference in New Issue