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/],
<form method="post" action="[% c.uri_for_action('/users/register').hostless | html %]" autocomplete="off">
- [% form.field('username').render %]
+ [% form.field('username').render %] (email)
[% form.field('password').render %]
[% form.field('confirm_password').render %]
<div id="topbanner">
<h1>Stemmaweb - a collection of tools for analysis of collated texts</h1>
- <span class="mainnav">[% IF c.user_exists %]Hello! [% c.user.get_object.display %] [% ELSE %]<a href="[% c.uri_for('/login') %]">Login</a> | <a href="[% c.uri_for('/register') %]">Register</a> | [% END %]<a href="[% c.uri_for( 'about.html' ) %]">About<a> | <a href="[% c.uri_for( 'doc.html' ) %]">Help</a></span>
+ <span class="mainnav">[% IF c.user_exists %]Hello! [% c.user.get_object.email %] [% ELSE %]<a href="[% c.uri_for('/login') %]">Login</a> | <a href="[% c.uri_for('/register') %]">Register</a> | [% END %]<a href="[% c.uri_for( 'about.html' ) %]">About<a> | <a href="[% c.uri_for( 'doc.html' ) %]">Help</a></span>
</div>
<div id="directory_container">
<h2>Text directory</h2>