1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-20 12:54:23 +01:00

Fix URLs.

This commit is contained in:
Simon Josefsson 2009-05-05 10:47:22 +00:00
parent 716182d744
commit b9c2396d74

View File

@ -13,16 +13,16 @@ $baseParams['__DB_NAME__'] = 'ykval';
// itself.
function otp2ksmurls ($otp, $client) {
if ($client == 42) {
return array("http://another-ykkms.example.com/wsapi/decrypt/?otp=$otp");
return array("http://another-ykkms.example.com/wsapi/decrypt?otp=$otp");
}
if (preg_match ("/^dteffujehknh/", $otp)) {
return array("http://different-ykkms.example.com/wsapi/decrypt/?otp=$otp");
return array("http://different-ykkms.example.com/wsapi/decrypt?otp=$otp");
}
return array(
"http://ykkms1.example.com/wsapi/decrypt/?otp=$otp",
"http://ykkms2.example.com/wsapi/decrypt/?otp=$otp",
"http://ykkms1.example.com/wsapi/decrypt?otp=$otp",
"http://ykkms2.example.com/wsapi/decrypt?otp=$otp",
);
}