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)
|
||||
if ( $self->{_AXNS} ) {
|
||||
$self->lmLog(
|
||||
"$attr required attribute is missing in Google response, storing ''",
|
||||
"$v required attribute is missing in Google response, storing ''",
|
||||
'info'
|
||||
);
|
||||
$h->{$v} = $gs->{$v} = '';
|
||||
|
@ -155,7 +155,7 @@ sub checkGoogleSession {
|
|||
# changed and this value was never asked
|
||||
else {
|
||||
$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'
|
||||
);
|
||||
return 0;
|
||||
|
@ -265,6 +265,10 @@ sub extractFormInfo {
|
|||
|
||||
# 1.3 Datas are recovered, user is authenticated
|
||||
else {
|
||||
$self->lmLog( 'Good Google authentication', 'debug' );
|
||||
|
||||
# Force redirection to avoid displaying OpenID datas
|
||||
$self->{mustRedirect} = 1;
|
||||
return PE_OK;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user