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

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'];