From: Jess Robinson Date: Fri, 6 Jul 2012 14:56:03 +0000 (+0000) Subject: display is now 'email', allowing ::Auth to email after register. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1041768e6b7421307a452232e6139a4b8aed6322;p=scpubgit%2Fstemmaweb.git display is now 'email', allowing ::Auth to email after register. --- diff --git a/lib/stemmaweb.pm b/lib/stemmaweb.pm index 7427973..1883f4b 100644 --- a/lib/stemmaweb.pm +++ b/lib/stemmaweb.pm @@ -100,7 +100,7 @@ __PACKAGE__->config( login_id_field => 'username', login_db_field => 'username', action_after_login => '/index', - send_register_email => 0, + action_after_register => '/index', realm => 'default', login_fields => { openid => [qw/openid_identifier/], default => [qw/username password remember/], diff --git a/root/src/auth/register.tt b/root/src/auth/register.tt index da497e6..ebd6771 100644 --- a/root/src/auth/register.tt +++ b/root/src/auth/register.tt @@ -17,7 +17,7 @@
- [% form.field('username').render %] + [% form.field('username').render %] (email) [% form.field('password').render %] [% form.field('confirm_password').render %] diff --git a/root/src/index.tt b/root/src/index.tt index 945f1e8..246336d 100644 --- a/root/src/index.tt +++ b/root/src/index.tt @@ -14,7 +14,7 @@ $(document).ready(function() {

Stemmaweb - a collection of tools for analysis of collated texts

- [% IF c.user_exists %]Hello! [% c.user.get_object.display %] [% ELSE %]Login | Register | [% END %]About | Help + [% IF c.user_exists %]Hello! [% c.user.get_object.email %] [% ELSE %]Login | Register | [% END %]About | Help

Text directory