diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-19 15:12:00 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-19 15:12:50 -0400 |
commit | f4def220ce00a6be06857d5bd9f164473c0411c4 (patch) | |
tree | 4e157bf17283789d67a39f60ec199ec36dd67c5a /phpBB/includes/session.php | |
parent | 2445766b922d2dd2d52becb6471a83f174eebec6 (diff) | |
download | forums-f4def220ce00a6be06857d5bd9f164473c0411c4.tar forums-f4def220ce00a6be06857d5bd9f164473c0411c4.tar.gz forums-f4def220ce00a6be06857d5bd9f164473c0411c4.tar.bz2 forums-f4def220ce00a6be06857d5bd9f164473c0411c4.tar.xz forums-f4def220ce00a6be06857d5bd9f164473c0411c4.zip |
[feature/auth-refactor] Refactor session for new auth interface
Refactors phpbb_session to use the new auth interface.
PHPBB3-9734
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 6bc71da0c1..85ca8abf3d 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -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)) { |