X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Floginout%2Flogout.html;h=5626aa4a1b6fc316b8a6881be2befd86bafe99cd;hb=4639e25a658d9a0bf295415642fae8e8cdad846a;hp=40371d5964d279b401a3e70ee25f55fadb137355;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/httemplate/loginout/logout.html b/httemplate/loginout/logout.html index 40371d596..5626aa4a1 100644 --- a/httemplate/loginout/logout.html +++ b/httemplate/loginout/logout.html @@ -1,18 +1,13 @@ - - - - - Logout page - - - -

-
- You have logged out -
-

-
- Return to freeside -
- - +<% $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'; + +