mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: generate a new session with coder login --token (#8275)
* feat: coder login --token generates a new session Makes sure /logout does not delete the inputted token * flag to enable previous behavior if needed
This commit is contained in:
+4
@@ -19,5 +19,9 @@ Authenticate with Coder deployment
|
||||
Specifies a username to use if creating the first user for the
|
||||
deployment.
|
||||
|
||||
--use-token-as-session bool
|
||||
By default, the CLI will generate a new session token when logging in.
|
||||
This flag will instead use the provided token as the session token.
|
||||
|
||||
---
|
||||
Run `coder --help` for a list of global options.
|
||||
|
||||
Reference in New Issue
Block a user