Skip to content

Commit

Permalink
Mark credentials to be saved when token is expired.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Sep 22, 2023
1 parent 8f99afa commit a077530
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void validate(final Host bookmark, final LoginCallback prompt, final Logi
log.info(String.format("Fetched OAuth token from keychain for %s", bookmark));
}
// No need to reinsert found token to the keychain.
credentials.setSaved(false);
credentials.setSaved(tokens.isExpired());
credentials.setOauth(tokens);
}
}
Expand Down

0 comments on commit a077530

Please sign in to comment.