Force redirection to avoid displaying OpenID datas
This commit is contained in:
parent
8869b04cde
commit
ea6f91e656
@ -145,7 +145,7 @@ sub checkGoogleSession {
|
|||||||
# in persistent session (so that it's defined)
|
# in persistent session (so that it's defined)
|
||||||
if ( $self->{_AXNS} ) {
|
if ( $self->{_AXNS} ) {
|
||||||
$self->lmLog(
|
$self->lmLog(
|
||||||
"$attr required attribute is missing in Google response, storing ''",
|
"$v required attribute is missing in Google response, storing ''",
|
||||||
'info'
|
'info'
|
||||||
);
|
);
|
||||||
$h->{$v} = $gs->{$v} = '';
|
$h->{$v} = $gs->{$v} = '';
|
||||||
@ -155,7 +155,7 @@ sub checkGoogleSession {
|
|||||||
# changed and this value was never asked
|
# changed and this value was never asked
|
||||||
else {
|
else {
|
||||||
$self->lmLog(
|
$self->lmLog(
|
||||||
"$attr required attribute is missing in persistent session, let's ask it",
|
"$v required attribute is missing in persistent session, let's ask it",
|
||||||
'info'
|
'info'
|
||||||
);
|
);
|
||||||
return 0;
|
return 0;
|
||||||
@ -265,6 +265,10 @@ sub extractFormInfo {
|
|||||||
|
|
||||||
# 1.3 Datas are recovered, user is authenticated
|
# 1.3 Datas are recovered, user is authenticated
|
||||||
else {
|
else {
|
||||||
|
$self->lmLog( 'Good Google authentication', 'debug' );
|
||||||
|
|
||||||
|
# Force redirection to avoid displaying OpenID datas
|
||||||
|
$self->{mustRedirect} = 1;
|
||||||
return PE_OK;
|
return PE_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user