diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-11-07 17:09:30 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-11-08 16:39:26 +0100 |
commit | e516c1352f00dbc374f4ea35da06a9ab4ac4ccae (patch) | |
tree | ae3cd3b05ebaf6e760d73949b0f4c3e6ed1d11de /library/openid/example.php | |
parent | 17183cc5dcbc5eb825d353d9f24fa74b2e4c6cdd (diff) | |
download | volse-hubzilla-e516c1352f00dbc374f4ea35da06a9ab4ac4ccae.tar.gz volse-hubzilla-e516c1352f00dbc374f4ea35da06a9ab4ac4ccae.tar.bz2 volse-hubzilla-e516c1352f00dbc374f4ea35da06a9ab4ac4ccae.zip |
Drop obsolete library LightOpenID
We're not using it anyways.
Diffstat (limited to 'library/openid/example.php')
-rw-r--r-- | library/openid/example.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/library/openid/example.php b/library/openid/example.php deleted file mode 100644 index e4ab107fe..000000000 --- a/library/openid/example.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -require 'openid.php'; -try { - # Change 'localhost' to your domain name. - $openid = new LightOpenID('localhost'); - if(!$openid->mode) { - if(isset($_POST['openid_identifier'])) { - $openid->identity = $_POST['openid_identifier']; - header('Location: ' . $openid->authUrl()); - } -?> -<form action="" method="post"> - OpenID: <input type="text" name="openid_identifier" /> <button>Submit</button> -</form> -<?php - } elseif($openid->mode == 'cancel') { - echo 'User has canceled authentication!'; - } else { - echo 'User ' . ($openid->validate() ? $openid->identity . ' has ' : 'has not ') . 'logged in.'; - } -} catch(ErrorException $e) { - echo $e->getMessage(); -} |