Skip to content
Permalink
Browse files

Fix syntax errors in the last Auth patch for bug #12269.

  • Loading branch information...
perlDreamer committed Oct 13, 2011
1 parent 916a1ea commit 40c61575d64cda30e3e2ba67c0f72e371fcf3b34
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/WebGUI/Auth.pm
@@ -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;
@@ -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

0 comments on commit 40c6157

Please sign in to comment.
You can’t perform that action at this time.