diff options
author | redmatrix <git@macgirvin.com> | 2016-07-28 13:15:10 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-28 13:15:10 -0700 |
commit | 35f17acb388f68745068d6a60e12c7b777b92282 (patch) | |
tree | c27819dec82394a68699d8f4de1a5625b5f1c571 /Zotlabs/Module/Rmagic.php | |
parent | 58cf5f310d89026fb526e201c301075725044e48 (diff) | |
parent | 47e1c4e059303167b173a10b986086d3c00c8384 (diff) | |
download | volse-hubzilla-35f17acb388f68745068d6a60e12c7b777b92282.tar.gz volse-hubzilla-35f17acb388f68745068d6a60e12c7b777b92282.tar.bz2 volse-hubzilla-35f17acb388f68745068d6a60e12c7b777b92282.zip |
Merge branch '1.10RC' of https://github.com/redmatrix/hubzilla into 1.10RC_merge
Diffstat (limited to 'Zotlabs/Module/Rmagic.php')
-rw-r--r-- | Zotlabs/Module/Rmagic.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Zotlabs/Module/Rmagic.php b/Zotlabs/Module/Rmagic.php index 26b0c46a6..9252d1f1d 100644 --- a/Zotlabs/Module/Rmagic.php +++ b/Zotlabs/Module/Rmagic.php @@ -2,7 +2,6 @@ namespace Zotlabs\Module; - class Rmagic extends \Zotlabs\Web\Controller { function init() { @@ -32,18 +31,6 @@ class Rmagic extends \Zotlabs\Web\Controller { $arr = array('address' => $address); call_hooks('reverse_magic_auth', $arr); - try { - require_once('library/openid/openid.php'); - $openid = new \LightOpenID(z_root()); - $openid->identity = $address; - $openid->returnUrl = z_root() . '/openid'; - $openid->required = array('namePerson/friendly', 'namePerson'); - $openid->optional = array('namePerson/first','media/image/aspect11','media/image/default'); - goaway($openid->authUrl()); - } catch (\Exception $e) { - notice( t('We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID.').'<br /><br >'. t('The error message was:').' '.$e->getMessage()); - } - // if they're still here... notice( t('Authentication failed.') . EOL); return; |