Add a check for ApplicationsManager
This commit is contained in:
@@ -132,6 +132,13 @@ namespace Akari.Prototype.Server.Services
|
||||
|
||||
public bool AddFingerprint(string applicationName, string fingerprintName)
|
||||
{
|
||||
if (IsFingerprintRegistered(applicationName, fingerprintName))
|
||||
{
|
||||
_logger.LogDebug($"'{fingerprintName}' is already registered for '{applicationName}'");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Verify master password
|
||||
if (!_masterKeyService.IsLoggedIn)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user