From: Jess Robinson Date: Tue, 15 May 2012 11:12:22 +0000 (+0000) Subject: Complete support for openid and new built-in openid_identifier X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75daf9827797e7b0991948dd7a1c1e43f5e90a82;p=scpubgit%2Fstemmaweb.git Complete support for openid and new built-in openid_identifier --- diff --git a/lib/stemmaweb.pm b/lib/stemmaweb.pm index 6cf1729..5a84bf3 100644 --- a/lib/stemmaweb.pm +++ b/lib/stemmaweb.pm @@ -89,7 +89,7 @@ __PACKAGE__->config( action_after_login => '/index', send_register_email => 0, realm => 'openid', - login_fields => { openid => [], # qw/openid_identifier/], + login_fields => { openid => [qw/openid_identifier/], default => [qw/username password/], }, }, diff --git a/root/src/auth/login.tt b/root/src/auth/login.tt index 6af2f51..e653632 100644 --- a/root/src/auth/login.tt +++ b/root/src/auth/login.tt @@ -22,17 +22,16 @@ + [% form.field('openid_identifier').render %] + [% form.field('username').render %] [% form.field('password').render %] - ---> + [% form.field('remember').render %] [% form.field('submit').render %]