This commit is contained in:
tidusjar 2020-10-27 15:19:27 +00:00
commit 0396e0ddf3

View file

@ -132,7 +132,7 @@ namespace Ombi.Controllers
};
claims.AddRange(roles.Select(role => new Claim("role", role)));
var key = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_tokenAuthenticationOptions.SecretKey));
var key = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(StoragePathSingleton.Instance.SecurityToken));
var creds = new SigningCredentials(key, SecurityAlgorithms.HmacSha256);