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

-
- You have logged out. -
-

-
- You can log in again. -
- - +<% $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'; + +