Skip to content

Commit

Permalink
Fix autostart condition
Browse files Browse the repository at this point in the history
  • Loading branch information
iyannsch committed Nov 5, 2024
1 parent 7d751f2 commit 27edc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/landing-page/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function App(): JSX.Element {
return;
}

if (selectedAppDefinition && gitUri && gitToken && !loading) {
if (selectedAppDefinition && gitUri && artemisToken && !loading && (config.useKeycloak ? token : true)) {
console.log('Checking auth, setting autoStart to true and starting session');
//authenticate();
setAutoStart(true);
Expand Down

0 comments on commit 27edc4f

Please sign in to comment.