<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->remote_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: logout.html,v 1.7 2007/12/14 02:18:23 maxbaker Exp $
%# vim:syntax=mason
