Update persistent session only if oidcConsents are converted (#1533)
This commit is contained in:
parent
37c6498e3c
commit
78423bf151
|
@ -1540,7 +1540,7 @@ sub _convertOldFormatConsents {
|
|||
|
||||
# Update persistent session
|
||||
$self->p->updatePersistentSession( $req,
|
||||
{ _oidcConsents => to_json( \@oidcConsents ) } );
|
||||
{ _oidcConsents => to_json( \@oidcConsents ) } ) if $count;
|
||||
return $count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user