Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
This commit is contained in:
commit
9d4525324e
|
@ -74,7 +74,7 @@ sub run {
|
|||
$self->logger->debug("TOTP name : $TOTPName");
|
||||
|
||||
unless ($code) {
|
||||
$self->logger->userInfo('TOTP registration: empty validation form');
|
||||
$self->userLogger->info('TOTP registration: empty validation form');
|
||||
return $self->p->sendError( $req, 'missingCode', 200 );
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ sub extractFormInfo {
|
|||
|
||||
# 1. Verify SSL exchange
|
||||
unless ( $req->{SSL_CLIENT_S_DN} ) {
|
||||
$self->userlogger->warn( 'No certificate found for ' . $req->address );
|
||||
$self->userLogger->warn( 'No certificate found for ' . $req->address );
|
||||
return PE_CERTIFICATEREQUIRED;
|
||||
}
|
||||
|
||||
|
|
|
@ -208,9 +208,8 @@ sub getNotifBack {
|
|||
# Current pending notification has not been found in
|
||||
# request
|
||||
$result = $fileResult = 0;
|
||||
$self->logger->debulogger->debug(
|
||||
'Current pending notification has not been found',
|
||||
'debug' );
|
||||
$self->logger->debug(
|
||||
'Current pending notification has not been found');
|
||||
next;
|
||||
}
|
||||
|
||||
|
|
|
@ -371,15 +371,17 @@ sub getPersistentSession {
|
|||
if ( $ps->error ) {
|
||||
$self->logger->debug( $ps->error );
|
||||
}
|
||||
else {
|
||||
|
||||
# Set _session_uid if not already present
|
||||
unless ( defined $ps->data->{_session_uid} ) {
|
||||
$ps->update( { _session_uid => $uid } );
|
||||
}
|
||||
# Set _session_uid if not already present
|
||||
unless ( defined $ps->data->{_session_uid} ) {
|
||||
$ps->update( { _session_uid => $uid } );
|
||||
}
|
||||
|
||||
# Set _utime if not already present
|
||||
unless ( defined $ps->data->{_utime} ) {
|
||||
$ps->update( { _utime => time } );
|
||||
# Set _utime if not already present
|
||||
unless ( defined $ps->data->{_utime} ) {
|
||||
$ps->update( { _utime => time } );
|
||||
}
|
||||
}
|
||||
|
||||
return $ps;
|
||||
|
|
Loading…
Reference in New Issue
Block a user