allow again the push

This commit is contained in:
Paul Schneider 2026-07-05 21:44:49 +01:00
commit a78847dbc9
5 changed files with 94 additions and 7 deletions

View file

@ -36,7 +36,7 @@ namespace isnd.Controllers
var files = new List<string>();
ViewData["files"] = files;
var clearkey = ApiKeyProtector.UnprotectWithFallback(protector, apiKey);
var clearkey = ApiKeyProtector.TryUnprotectKey(protector, apiKey);
var apikey = dbContext.ApiKeys.SingleOrDefault(k => k.Id == clearkey);
if (apikey == null)
{