Fix openid attribute fetching using Credential::OpenID
Jess Robinson [Mon, 28 May 2012 13:42:22 +0000 (13:42 +0000)]
stemmaweb/lib/stemmaweb.pm

index 3f66d19..dc96b2b 100644 (file)
@@ -79,9 +79,10 @@ __PACKAGE__->config(
                         uri         => 'http://openid.net/srv/ax/1.0',
                         mode        => 'fetch_request',
                         required    => 'email',
-                        type        => {
-                            email => 'http://axschema.org/contact/email'
-                        }
+                        'type.email' => 'http://axschema.org/contact/email',
+                        # type        => {
+                        #     email => 'http://axschema.org/contact/email'
+                        # }
                     }
                     ],
             },