diff options
author | tailor <cygnus@janrain.com> | 2006-02-14 17:39:07 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-02-14 17:39:07 +0000 |
commit | 68b90212a91b021a94891f95fd47c4e18071eeaa (patch) | |
tree | 6d14c43dff9e5a48dd93e9062e615de78e4300d6 /examples/server/lib/actions.php | |
parent | fe006ba8487441889c961d9e73bd9e7117ef03c8 (diff) | |
download | php-openid-68b90212a91b021a94891f95fd47c4e18071eeaa.zip php-openid-68b90212a91b021a94891f95fd47c4e18071eeaa.tar.gz php-openid-68b90212a91b021a94891f95fd47c4e18071eeaa.tar.bz2 |
[project @ Moved quoteMinimal, urlunparse, and normalizeUrl from Util to OpenID]
Diffstat (limited to 'examples/server/lib/actions.php')
-rw-r--r-- | examples/server/lib/actions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/server/lib/actions.php b/examples/server/lib/actions.php index b7194c7..546bdc6 100644 --- a/examples/server/lib/actions.php +++ b/examples/server/lib/actions.php @@ -7,6 +7,8 @@ require_once "lib/render.php"; require_once "lib/render/login.php"; require_once "lib/render/sites.php"; +require_once "Auth/OpenID.php"; + /** * Handle a standard OpenID server request */ @@ -42,7 +44,7 @@ function login_checkInput($input) } if (count($errors) == 0) { $openid_url = $input['openid_url']; - $openid_url = Auth_OpenID_normalizeUrl($openid_url); + $openid_url = Auth_OpenID::normalizeUrl($openid_url); $password = $input['password']; if (!checkLogin($openid_url, $password)) { $errors[] = 'The entered password does not match the ' . |