Static function
Fast
Server.SetPassword
Sets the password of the server, optionally overrides Config.toml
Syntax
Server.SetPassword(password, persist_to_config_file = false)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
password
|
string | — | The new password |
persist_to_config_file
optional
|
boolean | false |
Persist to config file |