We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5fe980 commit 7b735a0Copy full SHA for 7b735a0
src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt
@@ -451,7 +451,7 @@ class CoderWorkspacesStepView : CoderWizardStep<CoderWorkspacesStepSelection>(
451
settings.defaultURL()
452
}
453
val token =
454
- if (!lastUrl.isNullOrBlank() && !lastToken.isNullOrBlank()) {
+ if (settings.requireTokenAuth && !lastUrl.isNullOrBlank() && !lastToken.isNullOrBlank()) {
455
lastToken to Source.LAST_USED
456
} else if (url != null) {
457
settings.token(url.first)
0 commit comments