com web/doc-editor: Github oauth : change scope to user:email ; we don't need a write acces to the user profil: php/oauth.php

From: Date: Tue, 29 Jul 2014 16:02:35 +0000
Subject: com web/doc-editor: Github oauth : change scope to user:email ; we don't need a write acces to the user profil: php/oauth.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12668@lists.php.net to get a copy of this message
Commit: 584f395be88d8162cbae8cdbdf54a509d68e2653 Author: Yannick Torrès <yannick.torres@gmail.com> Tue, 29 Jul 2014 18:02:35 +0200 Parents: 00f52fbf3f340d8926e544defc5283519b823626 Branches: master Link: http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=584f395be88d8162cbae8cdbdf54a509d68e2653 Log: Github oauth : change scope to user:email ; we don't need a write acces to the user profil Changed paths: M php/oauth.php Diff: diff --git a/php/oauth.php b/php/oauth.php index c103bcb..4709ed3 100644 --- a/php/oauth..php +++ b/php/oauth.php @@ -25,7 +25,7 @@ class Oauth_github 'response_type' => 'code', 'client_id' => $this->clientID, 'redirect_uri' => $this->redirect_uri, - 'scope' => 'user' + 'scope' => 'user:email' ); $forward_url = $this->serveurURL . '?' . http_build_query($query_params);

« previous php.doc.cvs (#12668) next »