/usr/share/netdisco/html/logout.html is in netdisco-frontend 1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <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
|