mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add session expiry control flags (#5976)
Adds --session-duration which lets admins customize the default session expiration for browser sessions. Adds --disable-session-expiry-refresh which allows admins to prevent session expiry from being automatically bumped upon the API key being used.
This commit is contained in:
@@ -325,6 +325,8 @@ export interface DeploymentConfig {
|
||||
readonly logging: LoggingConfig
|
||||
readonly dangerous: DangerousConfig
|
||||
readonly disable_path_apps: DeploymentConfigField<boolean>
|
||||
readonly max_session_expiry: DeploymentConfigField<number>
|
||||
readonly disable_session_expiry_refresh: DeploymentConfigField<boolean>
|
||||
readonly address: DeploymentConfigField<string>
|
||||
readonly experimental: DeploymentConfigField<boolean>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user