Skip to content

Commit 40c6157

Browse files
committedOct 13, 2011
Fix syntax errors in the last Auth patch for bug #12269.
1 parent 916a1ea commit 40c6157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/WebGUI/Auth.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ sub displayLogin {
590590
$vars->{title} = $i18n->get(66);
591591
my $action;
592592
if ($self->session->setting->get("encryptLogin")) {
593-
my $uri = URI->new($session->url->page(undef,1));
593+
my $uri = URI->new($self->session->url->page(undef,1));
594594
$uri->scheme('https');
595595
$uri->host_port($uri->host);
596596
$action = $uri->as_string;
@@ -928,7 +928,7 @@ sub login {
928928
my $currentUrl = URI->new($self->session->url->page(undef,1));
929929
$currentUrl->scheme('http');
930930
$currentUrl->port($self->session->config->get('webServerPort') || 80);
931-
$self->session->http->setRedirect($currentUrl->canonical->as-string);
931+
$self->session->http->setRedirect($currentUrl->canonical->as_string);
932932
}
933933

934934
# Get open version tag. This is needed if we want

0 commit comments

Comments
 (0)
Please sign in to comment.