<h1 class="pagehead"><%$user%> Logged Out</h1>
% my $page = $netdisco::CONFIG{apache_auth} ? 'apache_login' : 'login';
<FORM ACTION="<% $page %>.html" METHOD=GET>
<DIV>
<INPUT TYPE="submit" CLASS="navbutton" VALUE="Log Back In">
</DIV>
</FORM>
<%init>
my $user = $m->session->{user};
my $userip = $r->connection->client_ip; 
$m->session->{_logged_in} = 0;
# Log Logout
insert_or_update('user_log',{},
        {'username'=>$m->session->{user},'event'=>'logout',
         'userip'=>$userip});
delete $m->session->{user};
delete $m->session->{user_port_ctl};
delete $m->session->{user_admin};
delete $m->session->{start};
</%init>
<%method title>
- Logout \
</%method>
%# $Id$
%# vim:syntax=mason
