[% META title = 'Login' %] [% IF user_profile; # PROCESS dumper.tt dump = user_profile; username = c.query.url.match(8080) AND NOT env.DB_SESSIONS ? user_profile.username : user_profile.first_name _ '.' _ user_profile.last_name; END; %] [% BLOCK logout_msg %]
[% IF username %] You are logged in as [% username %] [% ELSE %] You are already logged in [% END %] [ logout ]
[% END %] [% IF c.authen.username; INCLUDE logout_msg; # already logged in %] [% ELSE %] [% SET destination = c.query.param('destination') || destination_url %] [% IF c.authen.login_attempts %]Login failed (login attempt [% c.authen.login_attempts %])
If you have previously registered for a user account, please reset your password below. Otherwise, you can apply for one here.
[% ELSIF c.authen.is_login_timeout; INCLUDE logout_msg; %][% c.messages('login').email_not_found %]
[% END %]
[% lines.join | html_line_break %]