diff --git a/lib/auth/touchid/api.go b/lib/auth/touchid/api.go index 117df5430fd59..a1a5ab71205d9 100644 --- a/lib/auth/touchid/api.go +++ b/lib/auth/touchid/api.go @@ -551,7 +551,7 @@ func pickCredential( // Single credential or specific user requested. // A requested user means that all credentials are for that user, so there // would be nothing to pick. - case l == 1 && userRequested: + case l == 1 || userRequested: return &infos[0], nil }