Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update tests (#2469)
Leendert de Borstc4f6f251cdb7
diff --git a/apps/mobile-app/ios/VaultStoreKit/VaultStore+Pin.swift b/apps/mobile-app/ios/VaultStoreKit/VaultStore+Pin.swiftindex ab509adfd..ab3b286d9 100644--- a/apps/mobile-app/ios/VaultStoreKit/VaultStore+Pin.swift+++ b/apps/mobile-app/ios/VaultStoreKit/VaultStore+Pin.swift@@ -34,8 +34,8 @@ extension VaultStore {/// Get failed attempts count from secure storage.public func getPinFailedAttempts() -> Int {- return try {- retrievePinFailedAttemptsFromKeychain()+ do {+ return try retrievePinFailedAttemptsFromKeychain()} catch {// Failure to retrieve the counter counts as the maximum for safety reasons.return Self.maxPinAttemptsdiff --git a/apps/server/AliasVault.Api/Controllers/V2/Tests/TestController.cs b/apps/server/AliasVault.Api/Controllers/V2/Tests/TestController.csindex 3dced3ea6..452752b79 100644--- a/apps/server/AliasVault.Api/Controllers/V2/Tests/TestController.cs+++ b/apps/server/AliasVault.Api/Controllers/V2/Tests/TestController.cs@@ -392,7 +392,7 @@ public class TestController(return NotFound($"User '{username}' not found");}- // The legacy verifier was created with the identity of that time, which login hands to the client.+ await context.AliasVaultUsers.Where(u => u.Id != user.Id && u.SrpIdentity == request.SrpIdentity).ExecuteUpdateAsync(u => u.SetProperty(x => x.SrpIdentity, (string?)null));user.SrpIdentity = request.SrpIdentity;context.UserUnlockKeys.RemoveRange(context.UserUnlockKeys.Where(x => x.UserId == user.Id));context.UserGrantKeys.RemoveRange(context.UserGrantKeys.Where(x => x.UserId == user.Id));