Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbc8126f

Browse files
fix(cli): skip optional coder_external_auth (#13368)
* fix(cli): skip over coder_external_auth that are optional* chore: Delete package-lock.json
1 parent5789ea5 commitbc8126f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎cli/cliui/externalauth.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ func ExternalAuth(ctx context.Context, writer io.Writer, opts ExternalAuthOption
3737
ifauth.Authenticated {
3838
returnnil
3939
}
40+
ifauth.Optional {
41+
continue
42+
}
4043

4144
_,_=fmt.Fprintf(writer,"You must authenticate with %s to create a workspace with this template. Visit:\n\n\t%s\n\n",auth.DisplayName,auth.AuthenticateURL)
4245

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp