diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm index b4a04d09f..c17c98993 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm @@ -148,7 +148,7 @@ sub _buildAuthLoop { # Default URL if ( defined $url - and not $self->p->checkXSSAttack( + and not $self->checkXSSAttack( 'URI', $req->env->{'REQUEST_URI'} ) )