Internal overhaul
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
abstract class Auth extends Kohana_Auth {
|
||||
public static function instance($type=NULL) {
|
||||
public static function instance($type=NULL) {
|
||||
if (is_null($type) OR (! $type instanceof Model_Oauth))
|
||||
return parent::instance();
|
||||
|
||||
|
@@ -37,9 +37,9 @@ class Auth_Facebook extends Auth_ORM_External {
|
||||
|
||||
// Create new Facebook object
|
||||
$this->ao = new Facebook(array(
|
||||
'appId' => $oo->app_id,
|
||||
'secret' => $oo->secret,
|
||||
'cookie' => $this->config->cookie,
|
||||
'appId' => $oo->app_id,
|
||||
'secret' => $oo->secret,
|
||||
'cookie' => $this->config->cookie,
|
||||
'session_type' => $this->config->session_type,
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user