Show verify_password.html syntax highlighted
% # vim: set syntax=mason:
<& /mail/header.mhtml, hide_controls => 1, title => "Session Timeout" &>
<P>Your session was idle for too long. If you were composing a message DON'T
PANIC! None of your work has been lost. Just re-enter your password to continue
your session.</P>
<form method="post" action="<% $base %>/mail/renew_session.html">
<input type="password" name="password">
<input type="submit" name="submit" value="Renew session">
</form>
<br><br>
<p>If this is not your mail session, then please <a href="<% $base %>/mail/logout.html">log in</a> as a different user.</p>
<& /mail/footer.mhtml &>
<%init>
my $user = Apache2::SiteControl->getCurrentUser($r);
if(!$user || !$user->isa('Apache2::SiteControl::User')) {
$logger->error("Unable to find a user object for the given session key.");
$m->redirect("/");
}
$logger->debug($user->getUsername() . ": Showing session renew screen.");
</%init>
<%once>
our $base = $config->get('base_uri');
our $logger = Log::Log4perl->get_logger('alphamail');
</%once>
See more files for this project here