View fix
This commit is contained in:
@@ -57,7 +57,7 @@ namespace WebAPI.Controllers
|
||||
new Claim(JwtRegisteredClaimNames.Jti,
|
||||
Guid.NewGuid().ToString())
|
||||
}),
|
||||
Expires = DateTime.UtcNow.AddMinutes(5),
|
||||
Expires = DateTime.UtcNow.AddMinutes(30), // TODO: to long - to fix in the future
|
||||
SigningCredentials = new SigningCredentials
|
||||
(new SymmetricSecurityKey(key),
|
||||
SecurityAlgorithms.HmacSha512Signature)
|
||||
|
||||
Reference in New Issue
Block a user