diff --git a/modules/authYubiKey/lib/Auth/Source/YubiKey.php b/modules/authYubiKey/lib/Auth/Source/YubiKey.php index 0bd2e1df9cfdc94ffd6ed9f8e9a5e94cf14cedb3..38d5546a3b5dfefdc72eb9ad0cedfb4efb37fac1 100644 --- a/modules/authYubiKey/lib/Auth/Source/YubiKey.php +++ b/modules/authYubiKey/lib/Auth/Source/YubiKey.php @@ -186,7 +186,7 @@ class sspmod_authYubiKey_Auth_Source_YubiKey extends SimpleSAML_Auth_Source { $attributes = array(); try { - $yubi = &new Auth_Yubico($this->yubi_id, $this->yubi_key); + $yubi = new Auth_Yubico($this->yubi_id, $this->yubi_key); $auth = $yubi->verify($otp); $uid = self::getYubiKeyPrefix($otp); $attributes = array('uid' => array($uid));