WIP - Modify oidcConsents key structure (#1464)
This commit is contained in:
parent
949200c6a0
commit
96912d9c27
@ -426,12 +426,12 @@ sub delKeyInMySession {
|
||||
}
|
||||
}
|
||||
if ($res) {
|
||||
if ( $dkey !~ /^oidcConsents$/ ) {
|
||||
if ( $dkey !~ /^_oidcConsents$/ ) {
|
||||
$self->p->updatePersistentSession( $req,
|
||||
{ $dkey => undef } );
|
||||
$self->logger->debug("Update session -> delete Key : $dkey");
|
||||
}
|
||||
elsif ( $dkey =~ /^oidcConsents$/ and defined $option ) {
|
||||
elsif ( $dkey =~ /^_oidcConsents$/ and defined $option ) {
|
||||
$self->p->updatePersistentSession( $req,
|
||||
{ $dkey => { $option => undef } } );
|
||||
$self->logger->debug("Update session -> delete Key : $dkey with Option : $option");
|
||||
|
Loading…
Reference in New Issue
Block a user