aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-29 20:07:51 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-29 20:07:51 +0200
commit58825808fb1fd2d9950e8f7a81ad62db18be4aa7 (patch)
tree1a69739c0914316d6da10a9cd23285d29be0d9e8 /lib/Fripost
parent1eb7912a55921242a379fec76d6b93273ac3260e (diff)
Fixed CSS and logout redirection.
Diffstat (limited to 'lib/Fripost')
-rw-r--r--lib/Fripost/Panel/Login.pm2
1 files changed, 1 insertions, 1 deletions
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.