Title: [Bug]: Sign out available even with --auth none · Issue #5448 · coder/code-server · GitHub
Open Graph Title: [Bug]: Sign out available even with --auth none · Issue #5448 · coder/code-server
X Title: [Bug]: Sign out available even with --auth none · Issue #5448 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information code-server --version: 4.5.1 Steps to Reproduce run code-server --auth none open code-server observe logout menu option Expected No menu option A...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information code-server --version: 4.5.1 Steps to Reproduce run code-server --auth none open code-server observe logo...
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information code-server --version: 4.5.1 Steps to Reproduce run code-server --auth none open code-server observe logo...
Opengraph URL: https://github.com/coder/code-server/issues/5448
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Sign out available even with --auth none","articleBody":"### Is there an existing issue for this?\n\n- [X] I have searched the existing issues\n\n### OS/Web Information\n\n- `code-server --version`: 4.5.1\n\n### Steps to Reproduce\n\n1. run code-server --auth none\r\n2. open code-server\r\n3. observe logout menu option\n\n### Expected\n\nNo menu option\n\n### Actual\n\nMenu option\n\n### Logs\n\n_No response_\n\n### Screenshot/Video\n\n_No response_\n\n### Does this issue happen in VS Code or GitHub Codespaces?\n\n- [X] I cannot reproduce this in VS Code.\n- [X] I cannot reproduce this in GitHub Codespaces.\n\n### Are you accessing code-server over HTTPS?\n\n- [X] I am using HTTPS.\n\n### Notes\n\nThe check only sees if `auth` is defined when it should check that it is not `none`:\r\n```\r\nthis._environmentService.args['auth'] ? base + '/logout' : undefined,\r\n```","author":{"url":"https://github.com/code-asher","@type":"Person","name":"code-asher"},"datePublished":"2022-08-11T15:31:43Z","url":"https://github.com/coder/code-server/issues/5448"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8c591199-bc39-4cb8-156a-6bbce22e7552 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EFE:11EACE:26242EB:32EDB11:6B01A5D2 |
| html-safe-nonce | 5bc9652530bbdca735275d72100a067d546ec37cf6e65fc20682cfd0eb0c21a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUZFOjExRUFDRToyNjI0MkVCOjMyRURCMTE6NkIwMUE1RDIiLCJ2aXNpdG9yX2lkIjoiNjExNTU3MDEwMzExMjI3OTUwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f429c02091c375c731f798f85742f5ade5c207d43e055770528787c6c2e5aeb1 |
| hovercard-subject-tag | issue:1336133987 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5448/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da46b49d2b93fb61ec8611c4d1a31fae54c4ec36f435c01f54cc0890c2e0192c/coder/code-server/issues/5448 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da46b49d2b93fb61ec8611c4d1a31fae54c4ec36f435c01f54cc0890c2e0192c/coder/code-server/issues/5448 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information code-server --version: 4.5.1 Steps to Reproduce run code-server --auth none open code-server observe logo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | code-asher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width