Merge pull request #4257 from strk/openid-fix

Fix LightOpenID usage
This commit is contained in:
Hypolite Petovan 2018-01-16 08:49:04 -05:00 committed by GitHub
commit 17c709aec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Login extends BaseModule
// Otherwise it's probably an openid.
try {
require_once 'library/openid.php';
$openid = new LightOpenID;
$openid = new \LightOpenID;
$openid->identity = $openid_url;
$_SESSION['openid'] = $openid_url;
$_SESSION['remember'] = $_POST['remember'];