Set external authenticationLevel to 1
This commit is contained in:
parent
a54b43a4c8
commit
0f973b7b87
@ -43,7 +43,7 @@ sub setAuthSessionInfo {
|
||||
# Store user submitted login for basic rules
|
||||
$self->{sessionInfo}->{'_user'} = $self->{'user'};
|
||||
|
||||
# authenticationLevel 4 for external authentication
|
||||
# authenticationLevel 4 for Apache authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 4;
|
||||
|
||||
PE_OK;
|
||||
|
@ -154,8 +154,8 @@ sub setAuthSessionInfo {
|
||||
# Store user submitted login for basic rules
|
||||
$self->{sessionInfo}->{'_user'} = $self->{'user'};
|
||||
|
||||
# authenticationLevel 4 for external authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 4;
|
||||
# authenticationLevel 1 for external authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 1;
|
||||
|
||||
PE_OK;
|
||||
}
|
||||
|
@ -819,8 +819,8 @@ sub libertySetSessionInfo {
|
||||
$self->{user} = $uidValues[0]
|
||||
if (@uidValues);
|
||||
|
||||
# authenticationLevel 4 for external authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 4;
|
||||
# authenticationLevel 1 for external authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 1;
|
||||
|
||||
return PE_OK;
|
||||
}
|
||||
|
@ -134,8 +134,8 @@ sub setAuthSessionInfo {
|
||||
$self->{sessionInfo}->{$_} = $self->{twitterUser}->{$_};
|
||||
}
|
||||
|
||||
# authenticationLevel 4 for external authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 4;
|
||||
# authenticationLevel 1 for external authentication
|
||||
$self->{sessionInfo}->{authenticationLevel} = 1;
|
||||
|
||||
PE_OK;
|
||||
}
|
||||
|
@ -45,9 +45,11 @@ sub setAuthSessionInfo {
|
||||
my $self = shift;
|
||||
|
||||
# authenticationLevel
|
||||
# 1 for user/password with HTTP and password can be remebered
|
||||
# 2 for user/password with HTTP
|
||||
# 3 for user/password with HTTPS
|
||||
$self->{sessionInfo}->{authenticationLevel} = ( $self->https() ? 3 : 2 );
|
||||
$self->{sessionInfo}->{authenticationLevel} =
|
||||
( $self->https() ? 3 : ( $self->{portalAutocomplete} ? 1 : 2 ) );
|
||||
|
||||
# Store user submitted login for basic rules
|
||||
$self->{sessionInfo}->{'_user'} = $self->{'user'};
|
||||
|
Loading…
Reference in New Issue
Block a user