From c11911c4a7bd15465b5cb4ce33e6b5977f2e72eb Mon Sep 17 00:00:00 2001 From: Eveldee Date: Tue, 8 Jun 2021 22:30:23 +0200 Subject: [PATCH] Fix ApplicationsManager Missing return --- Akari.Prototype.Server/Services/ApplicationsManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Akari.Prototype.Server/Services/ApplicationsManager.cs b/Akari.Prototype.Server/Services/ApplicationsManager.cs index 50cafec..38a86e0 100644 --- a/Akari.Prototype.Server/Services/ApplicationsManager.cs +++ b/Akari.Prototype.Server/Services/ApplicationsManager.cs @@ -194,6 +194,8 @@ namespace Akari.Prototype.Server.Services if (!_authManager.TryGetKey(application.Fingerprints, out var fingerprintName, out var fingerprintKey)) { _logger.LogDebug($"Can't retrieve '{applicationName}' key, no fingerprint auth found"); + + return false; } applicationKey = _keyManager.RetrieveKey(applicationName, fingerprintName, fingerprintKey);