Skip to content

Commit 944401b

Browse files
committed
Restore commented-out code
1 parent ab53a86 commit 944401b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/libs/Reauthentication.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,9 @@ function reauthenticate(command = ''): Promise<boolean> {
140140
// Prevent reauthentication if credentials are missing (e.g. after sign out)
141141
if (!credentials?.autoGeneratedLogin || !credentials?.autoGeneratedPassword) {
142142
Log.info('[Reauthenticate] No credentials available, redirecting to sign in');
143-
// The following lines are commented out to test if it's the cause of #fireroom-2026-01-28-user-signout
144-
// setIsAuthenticating(false);
145-
// redirectToSignIn('No credentials available');
146-
// return false;
143+
setIsAuthenticating(false);
144+
redirectToSignIn('No credentials available');
145+
return false;
147146
}
148147

149148
Log.info(`[Reauthenticate] Re-authenticating with ${shouldUseNewPartnerName ? 'new' : 'old'} partner name`);

0 commit comments

Comments
 (0)