Enabled OAuth/OAuth2 logins
This commit is contained in:
@@ -19,7 +19,7 @@ class Model_Oauth extends ORM_OSB {
|
||||
* Return the object of the OAuth plugin
|
||||
*/
|
||||
public function plugin($type='') {
|
||||
$c = Kohana::classname('Oauth_Plugin_'.$this->name);
|
||||
$c = 'OAuth_Plugin_'.ucfirst($this->name);
|
||||
|
||||
if (! $this->name OR ! class_exists($c))
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user