From: Jess Robinson Date: Mon, 9 Jul 2012 11:05:13 +0000 (+0000) Subject: Add settings for register email configuration X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c1719854522499dd2e0ce4e1c0a0a4e5e5752b89;p=scpubgit%2Fstemmatology.git Add settings for register email configuration --- diff --git a/stemmaweb/lib/stemmaweb.pm b/stemmaweb/lib/stemmaweb.pm index bbe8d81..1f06638 100644 --- a/stemmaweb/lib/stemmaweb.pm +++ b/stemmaweb/lib/stemmaweb.pm @@ -100,15 +100,18 @@ __PACKAGE__->config( login_id_field => 'username', login_db_field => 'username', action_after_login => '/index', - action_after_register => '/index', - register_email_from => '"MyApp" ', - register_email_subject => 'Confirm registration to stemmaweb', - register_email_template_plain => 'register-plain.tt', + action_after_register => '/index', + register_email_from => '"MyApp" ', + register_email_subject => 'Registration to stemmaweb', + register_email_template_plain => 'register-plain.tt', realm => 'default', login_fields => { openid => [qw/openid_identifier/], default => [qw/username password remember/], }, }, + 'View::Email::Template' => { + stash_key => 'email_template', + }, ); # Start the application