fixed formhandler error
[scpubgit/stemmatology.git] / stemmaweb / lib / stemmaweb.pm
index 3f66d19..b4984e6 100644 (file)
@@ -29,6 +29,7 @@ use Catalyst qw/
     Session::Store::File
     Session::State::Cookie
     StatusMessage
+    StackTrace
 /;
 
 extends 'Catalyst';
@@ -79,9 +80,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'
+                        # }
                     }
                     ],
             },
@@ -99,7 +101,7 @@ __PACKAGE__->config(
         login_db_field => 'username',
         action_after_login => '/index',
         send_register_email => 0,
-        realm => 'openid',
+#        realm => 'openid',
         login_fields => { openid => [qw/openid_identifier/],
                           default => [qw/username password/],
         },