Skip to content

Commit

Permalink
no auto-authenticate
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis-toboggan-md committed Jun 10, 2024
1 parent 5e7b798 commit 0ab5430
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pkg/gke/components/AccountAccess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,8 @@ export default defineComponent({
this.$emit('update:project', projectId);
}
} catch (e) {
return;
}
// clicking the auth button instead of calling testProjectId directly gives the user a visual indication that authentication is in progress
this.$nextTick(() => {
const authBtn = this.$refs.authBtn;
if (authBtn) {
authBtn.clicked();
}
});
}
}
}
},
Expand Down Expand Up @@ -151,7 +143,6 @@ export default defineComponent({
class="auth-button-container mb-10"
>
<AsyncButton
ref="authBtn"
:disabled="!credential || !project || isAuthenticated"
type="button"
class="btn role-secondary"
Expand Down

0 comments on commit 0ab5430

Please sign in to comment.