Don't try keychain after authentication fails

Previously, we were achieving this by deleting the keychain item, but this can sometimes fail which leads to an infinite loop. Now, we explicitly never try the keychain when reattempting authentication after authentication fails.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2022-03-23 12:15:36 -06:00
co-authored by Max Brunsfeld
parent 29892ce5d7
commit ee9ed936e4
6 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -5021,7 +5021,7 @@ mod tests {
});
client
.authenticate_and_connect(&cx.to_async())
.authenticate_and_connect(false, &cx.to_async())
.await
.unwrap();