Commit aef43c86 authored by Clément OUDOT's avatar Clément OUDOT

Fix TODO by using autoRedirect (#LEMONLDAP-753)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@3527 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 7bd66873
......@@ -227,11 +227,14 @@ sub openIDServer {
sub _openIDResponse {
my ( $self, $type, $data ) = splice @_;
# TODO: use autoRedirect instead
# Redirect
if ( $type eq 'redirect' ) {
$self->lmLog( 'OpenID redirection', 'debug' );
print $self->redirect($data);
$self->lmLog( "OpenID redirection to $data", 'debug' );
$self->{urldc} = $data;
print $self->_sub('autoRedirect');
}
# Setup
elsif ( $type eq 'setup' ) {
if ( $self->{_openIdTrustRequired} or $self->{_openIdTrustExtMsg} ) {
......
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