mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00: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:
parent
2445766b92
commit
f4def220ce
1 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue