Do not abort on unknow attribute, as OpenID can be used with Multi or Choice authentication

This commit is contained in:
Clément Oudot 2010-10-01 13:21:25 +00:00
parent a81c8c7f52
commit a346e07f1d

View File

@ -53,10 +53,11 @@ sub setSessionInfo {
$self->param("openid.sreg.$self->{exportedVars}->{$k}"); $self->param("openid.sreg.$self->{exportedVars}->{$k}");
} }
else { else {
$self->abort( $self->lmLog(
'Configuration error', 'Ignoring attribute '
$self->{exportedVars}->{$k} . $self->{exportedVars}->{$k}
. ' is not a valid OpenID SREG attribute' . ' which is not a valid OpenID SREG attribute',
'warn'
); );
} }