Refactoring of Github authentication (oauth url change)
This commit is contained in:
@@ -18,13 +18,12 @@ class Acl extends Base
|
||||
*/
|
||||
private $public_acl = array(
|
||||
'auth' => array('login', 'check'),
|
||||
'user' => array('github'),
|
||||
'task' => array('readonly'),
|
||||
'board' => array('readonly'),
|
||||
'webhook' => '*',
|
||||
'ical' => '*',
|
||||
'feed' => '*',
|
||||
'oauth' => array('google'),
|
||||
'oauth' => array('google', 'github'),
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -122,13 +122,13 @@ class User extends Base
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a specific user by the GitHub id
|
||||
* Get a specific user by the Github id
|
||||
*
|
||||
* @access public
|
||||
* @param string $github_id GitHub user id
|
||||
* @param string $github_id Github user id
|
||||
* @return array|boolean
|
||||
*/
|
||||
public function getByGitHubId($github_id)
|
||||
public function getByGithubId($github_id)
|
||||
{
|
||||
if (empty($github_id)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user