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:
@@ -47,3 +47,11 @@ Specifies whether a trial license should be provisioned for the Coder deployment
|
||||
| Environment | <code>$CODER_FIRST_USER_USERNAME</code> |
|
||||
|
||||
Specifies a username to use if creating the first user for the deployment.
|
||||
|
||||
### --use-token-as-session
|
||||
|
||||
| | |
|
||||
| ---- | ----------------- |
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user