From 5c898c621e1343f8c116a75ca3131eb78229e09b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 6 May 2013 22:20:40 -0700 Subject: [PATCH] fix login css for all paths, RT#21563 --- httemplate/loginout/login.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/httemplate/loginout/login.html b/httemplate/loginout/login.html index a67ea4b58..d06d0a8fc 100644 --- a/httemplate/loginout/login.html +++ b/httemplate/loginout/login.html @@ -50,8 +50,7 @@ my $error = # $cgi->param('logout') || $error = exists($error{$error}) ? $error{$error} : $error; -#my $url_string = CGI->new->url; -my $url_string = $cgi->url; +my $url_string = $r->uri; #fake a freeside path for /login so we get our .css. shrug $url_string =~ s/login$/freeside\/login/ unless $url_string =~ /freeside\//; -- 2.11.0