Commit 5c9efc8f authored by Clément OUDOT's avatar Clément OUDOT

Use REQUEST_URI to restore request path in Choice URL (#LEMONLDAP-1022)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@5090 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 82e9bcb8
......@@ -9,7 +9,7 @@ package Lemonldap::NG::Portal::_Choice;
use Lemonldap::NG::Portal::Simple;
use Scalar::Util 'weaken';
our $VERSION = '1.4.0';
our $VERSION = '1.4.9';
## @cmethod Lemonldap::NG::Portal::_Choice new(Lemonldap::NG::Portal::Simple portal)
# Constructor
......@@ -196,7 +196,8 @@ sub _buildAuthLoop {
if ( $auth and $userDB and $passwordDB ) {
# Default URL
$url ||= "#";
$url = ( defined $url ? $url .= $ENV{'REQUEST_URI'} : '#' );
$self->lmLog( "Use URL $url", 'debug' );
# Options to store in the loop
my $optionsLoop =
......
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