X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Floginout%2Flogout.html;h=5626aa4a1b6fc316b8a6881be2befd86bafe99cd;hb=79c8be3bd0c5db42794b36bf5b5dd25addba67cb;hp=a29454a2cd5d245badfbd82ed273db17fcc559f9;hpb=f1802f4b19c6741b50007b56bbac13af61012fe5;p=freeside.git diff --git a/httemplate/loginout/logout.html b/httemplate/loginout/logout.html index a29454a2c..5626aa4a1 100644 --- a/httemplate/loginout/logout.html +++ b/httemplate/loginout/logout.html @@ -1,18 +1,13 @@ - - - - - <% mt('Logout page') |h %> - - - -

-
- <% mt('You have logged out') |h %> -
-

-
- 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'; + +