summaryrefslogtreecommitdiff
path: root/httemplate/loginout/logout.html
blob: 5626aa4a1b6fc316b8a6881be2befd86bafe99cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% $cgi->redirect($redirect) %>
<%init>

# Delete the server-side session
$FS::CurrentUser::CurrentSession->logout;

# Delete the browser cookie, etc.
my $auth_type = $r->auth_type;
$auth_type->logout($r);

my $redirect = $fsurl; #.'?logout=logout';

</%init>