Skip to content

Commit

Permalink
Amplify debugging: Remove force refresh flag (#139853)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored Dec 11, 2024
1 parent 48d6893 commit 06dd1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ui-src/src/hooks/authHooks/authLifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AuthManager {
* Manual refresh of credentials paired with an instant timer clear
*/
async refreshCredentials() {
await fetchAuthSession({ forceRefresh: true }); // Force a token refresh
await fetchAuthSession(); // Look for an active session (indirectly refreshes?)
this.setTimer();
}

Expand Down

0 comments on commit 06dd1aa

Please sign in to comment.