Skip to content

Commit

Permalink
Fix syntax errors in the last Auth patch for bug #12269.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Oct 13, 2011
1 parent 916a1ea commit 40c6157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WebGUI/Auth.pm
Expand Up @@ -590,7 +590,7 @@ sub displayLogin {
$vars->{title} = $i18n->get(66);
my $action;
if ($self->session->setting->get("encryptLogin")) {
my $uri = URI->new($session->url->page(undef,1));
my $uri = URI->new($self->session->url->page(undef,1));
$uri->scheme('https');
$uri->host_port($uri->host);
$action = $uri->as_string;
Expand Down Expand Up @@ -928,7 +928,7 @@ sub login {
my $currentUrl = URI->new($self->session->url->page(undef,1));
$currentUrl->scheme('http');
$currentUrl->port($self->session->config->get('webServerPort') || 80);
$self->session->http->setRedirect($currentUrl->canonical->as-string);
$self->session->http->setRedirect($currentUrl->canonical->as_string);
}

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

0 comments on commit 40c6157

Please sign in to comment.