Promote develop: ignore tokens.json (#21) #22
@@ -3,3 +3,6 @@
|
||||
bin/
|
||||
*.exe
|
||||
coverage.out
|
||||
|
||||
# OAuth tokens from auth.Login / WriteTokens (mode 0600 on disk)
|
||||
tokens.json
|
||||
|
||||
@@ -24,7 +24,7 @@ cfg := rh.Config{
|
||||
}
|
||||
```
|
||||
|
||||
Daemon/headless callers must not call `Login` (no browser). They call `Connect` with an existing token file (mode `0600`).
|
||||
Daemon/headless callers must not call `Login` (no browser). They call `Connect` with an existing token file (mode `0600`). Keep `tokens.json` out of git (listed in `.gitignore`).
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user