1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-16 20:39:49 +02:00

[feature/auth-refactor] Refactor session for new auth interface

Refactors phpbb_session to use the new auth interface.

PHPBB3-9734
This commit is contained in:
Joseph Warner 2013-06-19 15:12:00 -04:00
parent 2445766b92
commit f4def220ce

View File

@ -568,12 +568,12 @@ class phpbb_session
}
$method = basename(trim($config['auth_method']));
include_once($phpbb_root_path . 'includes/auth/auth_' . $method . '.' . $phpEx);
$method = 'autologin_' . $method;
if (function_exists($method))
$class = 'phpbb_auth_provider_' . $method;
if (class_exists($class))
{
$this->data = $method();
$provider = new $class();
$this->data = $class->autologin();
if (sizeof($this->data))
{