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:
parent
2445766b92
commit
f4def220ce
@ -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…
x
Reference in New Issue
Block a user