From 06b1088be77c16748ae2a7a7dc03e4bd71bc13f7 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 20 May 2010 06:24:32 +0000 Subject: [PATCH] authYubiKey: Fix use of &new, which isn't correct for PHP5. Thanks to Patrick Honing for reporting this bug. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2307 44740490-163a-0410-bde0-09ae8108e29a --- modules/authYubiKey/lib/Auth/Source/YubiKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/authYubiKey/lib/Auth/Source/YubiKey.php b/modules/authYubiKey/lib/Auth/Source/YubiKey.php index 0bd2e1df9..38d5546a3 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)); -- GitLab