Commit 78423bf1 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Update persistent session only if oidcConsents are converted (#1533)

parent 37c6498e
......@@ -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;
}
......
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