mirror of
https://github.com/coder/code-server.git
synced 2025-07-28 12:33:43 +08:00
Skip unnecessary auth type check when using --link
This commit is contained in:
@ -425,10 +425,7 @@ export async function setDefaults(cliArgs: Args, configArgs?: ConfigArgs): Promi
|
|||||||
args.port = 0
|
args.port = 0
|
||||||
args.socket = undefined
|
args.socket = undefined
|
||||||
args.cert = undefined
|
args.cert = undefined
|
||||||
|
args.auth = AuthType.None
|
||||||
if (args.auth !== AuthType.None) {
|
|
||||||
args.auth = AuthType.None
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.cert && !args.cert.value) {
|
if (args.cert && !args.cert.value) {
|
||||||
|
Reference in New Issue
Block a user