Skip to content

Commit

Permalink
Revert "Amplify debugging: Remove force refresh flag (#139853)"
Browse files Browse the repository at this point in the history
This reverts commit 06dd1aa.
  • Loading branch information
ntsummers1 authored Dec 11, 2024
1 parent d4a3af6 commit 3be2461
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(); // Look for an active session (indirectly refreshes?)
await fetchAuthSession({ forceRefresh: true }); // Force a token refresh
this.setTimer();
}

Expand Down

0 comments on commit 3be2461

Please sign in to comment.