diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2016-03-09 13:45:07 +0100 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2016-03-09 13:45:07 +0100 |
commit | b5648358afea9c52afb94b631cbdf4194ec18763 (patch) | |
tree | 8847440d3c21889b6cf6a3b75ab892933a9eeeeb /modules/authYubiKey/lib/Auth/Source/YubiKey.php | |
parent | 8b6abc0a5d0f954a2a982750581717c6c54f0514 (diff) | |
download | simplesamlphp-b5648358afea9c52afb94b631cbdf4194ec18763.zip simplesamlphp-b5648358afea9c52afb94b631cbdf4194ec18763.tar.gz simplesamlphp-b5648358afea9c52afb94b631cbdf4194ec18763.tar.bz2 |
Update the modules too.
Diffstat (limited to 'modules/authYubiKey/lib/Auth/Source/YubiKey.php')
-rw-r--r-- | modules/authYubiKey/lib/Auth/Source/YubiKey.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/authYubiKey/lib/Auth/Source/YubiKey.php b/modules/authYubiKey/lib/Auth/Source/YubiKey.php index 79307f7..4f64273 100644 --- a/modules/authYubiKey/lib/Auth/Source/YubiKey.php +++ b/modules/authYubiKey/lib/Auth/Source/YubiKey.php @@ -102,7 +102,7 @@ class sspmod_authYubiKey_Auth_Source_YubiKey extends SimpleSAML_Auth_Source { $id = SimpleSAML_Auth_State::saveState($state, self::STAGEID); - $url = SimpleSAML_Module::getModuleURL('authYubiKey/yubikeylogin.php'); + $url = SimpleSAML\Module::getModuleURL('authYubiKey/yubikeylogin.php'); \SimpleSAML\Utils\HTTP::redirectTrustedURL($url, array('AuthState' => $id)); } @@ -190,12 +190,12 @@ class sspmod_authYubiKey_Auth_Source_YubiKey extends SimpleSAML_Auth_Source { $uid = self::getYubiKeyPrefix($otp); $attributes = array('uid' => array($uid)); } catch (Exception $e) { - SimpleSAML_Logger::info('YubiKey:' . $this->authId . ': Validation error (otp ' . $otp . '), debug output: ' . $yubi->getLastResponse()); + SimpleSAML\Logger::info('YubiKey:' . $this->authId . ': Validation error (otp ' . $otp . '), debug output: ' . $yubi->getLastResponse()); throw new SimpleSAML_Error_Error('WRONGUSERPASS', $e); } - SimpleSAML_Logger::info('YubiKey:' . $this->authId . ': YubiKey otp ' . $otp . ' validated successfully: ' . $yubi->getLastResponse()); + SimpleSAML\Logger::info('YubiKey:' . $this->authId . ': YubiKey otp ' . $otp . ' validated successfully: ' . $yubi->getLastResponse()); return $attributes; } |