summaryrefslogtreecommitdiffstats
path: root/modules/authYubiKey/lib/Auth/Source/YubiKey.php
diff options
context:
space:
mode:
authorJaime Pérez Crespo <jaime.perez@uninett.no>2014-01-17 15:40:02 +0000
committerJaime Pérez Crespo <jaime.perez@uninett.no>2014-01-17 15:40:02 +0000
commit015ab4a0386cafc3539c772c164d9b9dfa8a694e (patch)
treeda3f939a538b99d0356ee867357d7a23118ae8e1 /modules/authYubiKey/lib/Auth/Source/YubiKey.php
parent2e4dc23710b81b25323acbf8d976a3c3dbe429bf (diff)
downloadsimplesamlphp-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.php2
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));
}