Commit 7bd66873 authored by Clément OUDOT's avatar Clément OUDOT

Do not hardcode OpenID server path (#LEMONLDAP-753)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@3526 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 0821b8da
......@@ -145,7 +145,9 @@ sub restoreOpenIDprm {
sub openIDServer {
my $self = shift;
return $self->{_openidserver} if ( $self->{_openidserver} );
$self->{_openidPortal} = $self->{portal} . "/openidserver/";
my $path = $self->{issuerDBOpenIDPath};
$path =~ s/\^//;
$self->{_openidPortal} = $self->{portal} . $path;
$self->{_openidPortal} =~ s#(?<!:)//#/#g;
my $sub = sub { return $self->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