mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2025-07-25 12:54:41 +00:00
Add tarlog support for author keys
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user