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}");
}
else {
$self->abort(
'Configuration error',
$self->{exportedVars}->{$k}
. ' is not a valid OpenID SREG attribute'
$self->lmLog(
'Ignoring attribute '
. $self->{exportedVars}->{$k}
. ' which is not a valid OpenID SREG attribute',
'warn'
);
}