From 8c5ae66b77e1a37720af7dce24dcffd0c5dc33aa Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sun, 28 Jun 2020 01:56:48 +0300 Subject: [PATCH] Require less permissions by default --- src/Appwrite/Auth/OAuth2/Github.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Auth/OAuth2/Github.php b/src/Appwrite/Auth/OAuth2/Github.php index 73a0793e9e..cd02252092 100644 --- a/src/Appwrite/Auth/OAuth2/Github.php +++ b/src/Appwrite/Auth/OAuth2/Github.php @@ -15,7 +15,7 @@ class Github extends OAuth2 * @var array */ protected $scopes = [ - 'user', + 'user:email', ]; /**