diff options
author | Frode Aannevik <frode.aa@gmail.com> | 2019-10-13 20:01:16 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-10-16 11:04:41 -0400 |
commit | 550ef0bc1f21dfaeb1bf216b28c3fce9a816cb73 (patch) | |
tree | 066d6f69a9bd408df23d47fb61c9f6cda36304ac /lib/open_darwin.go | |
parent | 48a88fe44f617585050e7640a687a82bc5623970 (diff) |
Fix: oauthbearer runtime error
Configure an oauthbearer source without a token_endpoint
parameter would panic due to nil pointer dereference
Example
source=imaps+oauthbearer://frode.aa%40gmail.com@imap.gmail.com:993
source-cred-cmd=pass oatuh2 frode.aa@gmail.com
token_endpoint is not required as it will use the provided
password as access_token when it is not set
Diffstat (limited to 'lib/open_darwin.go')
0 files changed, 0 insertions, 0 deletions