X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/634d3b05179258468f53427356b5218d97257072..cfeff7ff252c475975587a740e25ee419a515d3c:/src/views/login-panel/login-panel.tsx?ds=sidebyside

diff --git a/src/views/login-panel/login-panel.tsx b/src/views/login-panel/login-panel.tsx
index 16b8b0bb08..a67228bcca 100644
--- a/src/views/login-panel/login-panel.tsx
+++ b/src/views/login-panel/login-panel.tsx
@@ -97,7 +97,7 @@ export const LoginPanel = withStyles(styles)(
                     <Button variant="contained" color="primary" style={{ margin: "1em" }} className={classes.button}
                         onClick={() => dispatch(login(uuidPrefix, homeCluster, loginCluster, remoteHosts))}>
                         Log in to {uuidPrefix}
-                        {uuidPrefix !== homeCluster &&
+                        {uuidPrefix !== homeCluster && loginCluster !== homeCluster &&
                             <span>&nbsp;with user from {homeCluster}</span>}
                     </Button>
                 </Typography>
