Skip to content

Commit cfe2ed2

Browse files
committed
fix: logout appearing with auth=none
1 parent 2ec1e2d commit cfe2ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/logout.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
4444
codeServerVersion: this._productService.codeServerVersion,
4545
rootEndpoint: base,
4646
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
47-
+ logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
47+
+ logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
4848
embedderIdentifier: 'server-distro',
4949
extensionsGallery: this._productService.extensionsGallery,
5050
},

0 commit comments

Comments
 (0)