<h3><%$user%> Logged Out</h3>
% my $page = $netdisco::CONFIG{apache_auth} ? 'apache_login' : 'login';
<FORM ACTION="<% $page %>.html" METHOD=GET>
<INPUT TYPE="submit" VALUE="Log Back In">
</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.5 2006/03/09 00:05:36 fenner Exp $
%# vim:syntax=mason
