fix(third_party/lieer): Use correct scope for SMTP access

Turns out that for some peculiar reason, the 'send' scope is not
enough to send email and the full 'mail.google.com' scope is required.
This commit is contained in:
Vincent Ambo 2019-12-26 14:06:57 +01:00
parent a07571a4db
commit 39aa74ed61

View file

@ -7,7 +7,7 @@ index 6e3973a..ade1082 100644
class Remote:
- SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify'
+ SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.send'
+ SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify https://mail.google.com/'
APPLICATION_NAME = 'Lieer'
CLIENT_SECRET_FILE = None
authorized = False