From 71f2a797cbc07e4e5c996d0a7ab7194adba071ec Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 12 Mar 2015 15:19:54 -0700 Subject: try and add some regs --- mod/rmagic.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod') 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.').'

'. t('The error message was:').' '.$e->getMessage()); -- cgit v1.2.3