redirect to non-SSL host on logout
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 5 Dec 2011 22:17:20 +0000 (23:17 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 5 Dec 2011 22:17:20 +0000 (23:17 +0100)
C4/Auth.pm

index 28f5c15..8a05315 100644 (file)
@@ -798,6 +798,9 @@ sub checkauth {
             $sessionID = undef;
             $userid    = undef;
 
+                       print $query->redirect('http://' . $query->virtual_host);
+                       exit;
+
            if ($cas and $caslogout) {
                logout_cas($query);
            }