diff options
author | Jaime Pérez Crespo <jaime.perez@uninett.no> | 2014-01-17 15:40:02 +0000 |
---|---|---|
committer | Jaime Pérez Crespo <jaime.perez@uninett.no> | 2014-01-17 15:40:02 +0000 |
commit | 015ab4a0386cafc3539c772c164d9b9dfa8a694e (patch) | |
tree | da3f939a538b99d0356ee867357d7a23118ae8e1 /modules/authYubiKey/lib/Auth/Source/YubiKey.php | |
parent | 2e4dc23710b81b25323acbf8d976a3c3dbe429bf (diff) | |
download | simplesamlphp-015ab4a0386cafc3539c772c164d9b9dfa8a694e.zip simplesamlphp-015ab4a0386cafc3539c772c164d9b9dfa8a694e.tar.gz simplesamlphp-015ab4a0386cafc3539c772c164d9b9dfa8a694e.tar.bz2 |
Start using the redirectTrustedURL() and redirectUntrustedURL() wrappers.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3326 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'modules/authYubiKey/lib/Auth/Source/YubiKey.php')
-rw-r--r-- | modules/authYubiKey/lib/Auth/Source/YubiKey.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/authYubiKey/lib/Auth/Source/YubiKey.php b/modules/authYubiKey/lib/Auth/Source/YubiKey.php index 1381ee6..ae98920 100644 --- a/modules/authYubiKey/lib/Auth/Source/YubiKey.php +++ b/modules/authYubiKey/lib/Auth/Source/YubiKey.php @@ -104,7 +104,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'); - SimpleSAML_Utilities::redirect($url, array('AuthState' => $id)); + SimpleSAML_Utilities::redirectTrustedURL($url, array('AuthState' => $id)); } |