mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Add tarlog support for author keys
This commit is contained in:
parent
dd9100ccf4
commit
59126d1f25
@ -86,6 +86,9 @@ public class ApiKeyAuthenticationHandler : AuthenticationHandler<ApiKeyAuthentic
|
||||
|
||||
if (authorKey != null)
|
||||
{
|
||||
if (await _tarLog.Contains(authorKey))
|
||||
return AuthenticateResult.Fail("Banned author key");
|
||||
|
||||
var owner = await _authorKeys.AuthorForKey(authorKey);
|
||||
if (owner == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user