diff options
| -rw-r--r-- | doc/misc/auth.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi index 16ce60199d6..a5374a3b90d 100644 --- a/doc/misc/auth.texi +++ b/doc/misc/auth.texi | |||
| @@ -169,7 +169,8 @@ get fancy, the default and simplest configuration is: | |||
| 169 | ;;; use pass (@file{~/.password-store}) | 169 | ;;; use pass (@file{~/.password-store}) |
| 170 | ;;; (@pxref{The Unix password store}) | 170 | ;;; (@pxref{The Unix password store}) |
| 171 | (setq auth-sources '(password-store)) | 171 | (setq auth-sources '(password-store)) |
| 172 | ;;; JSON data in format [{ "machine": "SERVER", "login": "USER", "password": "PASSWORD" }...] | 172 | ;;; JSON data in format [@{ "machine": "SERVER", |
| 173 | ;;; "login": "USER", "password": "PASSWORD" @}...] | ||
| 173 | (setq auth-sources '("~/.authinfo.json.gpg")) | 174 | (setq auth-sources '("~/.authinfo.json.gpg")) |
| 174 | @end lisp | 175 | @end lisp |
| 175 | 176 | ||
| @@ -242,7 +243,8 @@ that sort of thing. Just point to a JSON file with entries like this: | |||
| 242 | 243 | ||
| 243 | @example | 244 | @example |
| 244 | [ | 245 | [ |
| 245 | { "machine": "yourmachine.com", "port": "http", "login": "testuser", "password": "testpass" } | 246 | @{ "machine": "yourmachine.com", "port": "http", |
| 247 | "login": "testuser", "password": "testpass" @} | ||
| 246 | ] | 248 | ] |
| 247 | @end example | 249 | @end example |
| 248 | 250 | ||