Commit 9c509b2c authored by Christophe Maudoux's avatar Christophe Maudoux

Fix typo

parent 329962e4
...@@ -11,7 +11,7 @@ use Mouse; ...@@ -11,7 +11,7 @@ use Mouse;
# Plugins enabled by a simple boolean value (ordered list) # Plugins enabled by a simple boolean value (ordered list)
# #
# Developers: U2F must be loaded before Notifications # Developers: 2FA must be loaded before Notifications
our @pList = ( our @pList = (
portalDisplayResetPassword => '::Plugins::MailReset', portalDisplayResetPassword => '::Plugins::MailReset',
portalStatus => '::Plugins::Status', portalStatus => '::Plugins::Status',
......
...@@ -91,7 +91,7 @@ sub controlUrl { ...@@ -91,7 +91,7 @@ sub controlUrl {
$req->{urldc} =~ s/[\r\n]//sg; $req->{urldc} =~ s/[\r\n]//sg;
} }
# For logout request, test if Referer comes from an authorizated site # For logout request, test if Referer comes from an authorized site
my $tmp = ( my $tmp = (
$req->param('logout') $req->param('logout')
? $req->referer ? $req->referer
...@@ -110,7 +110,7 @@ sub controlUrl { ...@@ -110,7 +110,7 @@ sub controlUrl {
return PE_BADURL; return PE_BADURL;
} }
# Non protected hosts # Unprotected hosts
if ( $tmp and !$self->isTrustedUrl($tmp) ) { if ( $tmp and !$self->isTrustedUrl($tmp) ) {
$self->userLogger->error( $self->userLogger->error(
"URL contains a non protected host (param: " "URL contains a non protected host (param: "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment