Skip to content

Commit 4c29fb5

Browse files
committed
Make condition more stable
1 parent 058c82c commit 4c29fb5

File tree

1 file changed

+1
-1
lines changed
  • ide-common/src/main/kotlin/org/digma/intellij/plugin/auth

1 file changed

+1
-1
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/auth/AuthManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ class AuthManager {
365365
LoginResult(true, loginResponse.userId, null)
366366

367367
} catch (e: Throwable) {
368-
if (e is AuthenticationException && userName != SILENT_LOGIN_USER) {
368+
if (e is AuthenticationException && analyticsProvider.about.isCentralize == true) {
369369
return LoginResult(false, null, e.detailedMessage)
370370
}
371371

0 commit comments

Comments
 (0)