aboutsummaryrefslogtreecommitdiffstats
path: root/mod/rmagic.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-12 15:19:54 -0700
committerfriendica <info@friendica.com>2015-03-12 15:19:54 -0700
commit71f2a797cbc07e4e5c996d0a7ab7194adba071ec (patch)
tree89929975b1a8e255de1c7a1b47a83d6066222729 /mod/rmagic.php
parentfc84c81f6439f29a0a186410f3a0063de3c83533 (diff)
downloadvolse-hubzilla-71f2a797cbc07e4e5c996d0a7ab7194adba071ec.tar.gz
volse-hubzilla-71f2a797cbc07e4e5c996d0a7ab7194adba071ec.tar.bz2
volse-hubzilla-71f2a797cbc07e4e5c996d0a7ab7194adba071ec.zip
try and add some regs
Diffstat (limited to 'mod/rmagic.php')
-rw-r--r--mod/rmagic.php2
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());