Skip to content

Commit 9346f59

Browse files
authored
Merge pull request #2153 from englut/docs-password-files
Add example password files to docs
2 parents 10db961 + a917fe1 commit 9346f59

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

docs/configuration/servers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Read `nick_password` from the file at the given path.[^1] [^2]
4545
# Default: not set
4646

4747
[servers.<name>]
48-
nick_password_file = ""
48+
nick_password_file = "/path/to/nick-password-file"
4949
```
5050

5151
## `nick_password_file_first_line_only`
@@ -188,7 +188,7 @@ Read password from the file at the given path.[^1] [^2]
188188
# Default: not set
189189

190190
[servers.<name>]
191-
password_file = ""
191+
password_file = "/path/to/password-file"
192192
```
193193

194194
## `password_file_first_line_only`
@@ -748,7 +748,7 @@ Read `password` from the file at the given path.[^1] [^2]
748748
# Default: not set
749749

750750
[servers.<name>.sasl.plain]
751-
password_file = ""
751+
password_file = "/path/to/password-file"
752752
```
753753

754754
### `password_file_first_line_only`
@@ -924,7 +924,7 @@ Read `password` from the file at the given path.[^1] [^2]
924924
# Default: not set
925925

926926
[servers.<name>.filehost.credentials.plain]
927-
password_file = ""
927+
password_file = "/path/to/password-file"
928928
```
929929

930930
##### `password_file_first_line_only`

docs/guides/example-server-configurations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ nickname = "registered-user" # your name on the server
2828
channels = ["#registered-users-clubhouse"] # channel(s) joined on launch
2929

3030
sasl.plain.username = "registered-user" # name used for authentication; often the same as nickname
31-
sasl.plain.password_file = "super-secret-password" # password used for authentication
31+
sasl.plain.password_file = "/path/to/super-secret-password-file" # file containing password used for authentication
32+
```
33+
34+
## [IRCCloud](https://www.irccloud.com/)
3235
```
3336
3437
## [OFTC](https://oftc.net/)

0 commit comments

Comments
 (0)