allow again the push
This commit is contained in:
parent
38bb7e40ef
commit
a78847dbc9
5 changed files with 94 additions and 7 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue