From 58825808fb1fd2d9950e8f7a81ad62db18be4aa7 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 29 Sep 2012 20:07:51 +0200 Subject: Fixed CSS and logout redirection. --- lib/Fripost/Panel/Login.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Fripost/Panel') diff --git a/lib/Fripost/Panel/Login.pm b/lib/Fripost/Panel/Login.pm index 810f9e1..ccb4ca7 100644 --- a/lib/Fripost/Panel/Login.pm +++ b/lib/Fripost/Panel/Login.pm @@ -188,7 +188,7 @@ sub logout : Runmode { $self->query->delete('a') if (defined $self->query->param('a')) and $self->query->param('a') eq 'logout'; - return $self->redirect($self->query->self_url); + return $self->redirect( ($ENV{SCRIPT_NAME} // $self->query->url).'/' ); } # This is the error Run Mode. -- cgit v1.2.3