From: Jess Robinson <j.robinson@shadowcat.co.uk>
Date: Mon, 28 May 2012 13:42:22 +0000 (+0000)
Subject: Fix openid attribute fetching using Credential::OpenID
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bafbd9aef3d8a98a4f10548dc0fdd286975b8371;p=scpubgit%2Fstemmaweb.git

Fix openid attribute fetching using Credential::OpenID
---

diff --git a/lib/stemmaweb.pm b/lib/stemmaweb.pm
index 3f66d19..dc96b2b 100644
--- a/lib/stemmaweb.pm
+++ b/lib/stemmaweb.pm
@@ -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'
+                        # }
                     }
                     ],
             },