Merge pull request #3837 from tidusjar/develop

Fixed #3835
This commit is contained in:
Jamie 2020-10-27 15:20:56 +00:00 committed by GitHub
commit 89cb85ba30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);