diff options
author | friendica <info@friendica.com> | 2015-03-12 15:19:54 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-12 15:19:54 -0700 |
commit | 71f2a797cbc07e4e5c996d0a7ab7194adba071ec (patch) | |
tree | 89929975b1a8e255de1c7a1b47a83d6066222729 /mod | |
parent | fc84c81f6439f29a0a186410f3a0063de3c83533 (diff) | |
download | volse-hubzilla-71f2a797cbc07e4e5c996d0a7ab7194adba071ec.tar.gz volse-hubzilla-71f2a797cbc07e4e5c996d0a7ab7194adba071ec.tar.bz2 volse-hubzilla-71f2a797cbc07e4e5c996d0a7ab7194adba071ec.zip |
try and add some regs
Diffstat (limited to 'mod')
-rw-r--r-- | mod/rmagic.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/rmagic.php b/mod/rmagic.php index 49525bd32..597c6ed9c 100644 --- a/mod/rmagic.php +++ b/mod/rmagic.php @@ -33,6 +33,8 @@ function rmagic_post(&$a) { $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()); |