WIP - checkUser prepare conf (#1658)

This commit is contained in:
Christophe Maudoux 2019-02-24 22:47:39 +01:00
parent e22a2835d1
commit 0f04629ed1

View File

@ -103,15 +103,8 @@ sub _userDatas {
# Search user in database
my $steps = ['getUser', 'setSessionInfo','setMacros', 'setGroups', ];
push @$steps, 0 ? 'setPersistentSessionInfo', 'setLocalGroups' : 'setLocalGroups';
$req->steps(
[ 'getUser', 'setSessionInfo',
'setMacros', 'setGroups',
#'setPersistentSessionInfo', 'setLocalGroups'
'setLocalGroups'
]
);
0 ? push @$steps, 'setPersistentSessionInfo', 'setLocalGroups' : push @$steps, 'setLocalGroups';
$req->steps( $steps );
if ( my $error = $self->p->process($req) ) {
if ( $error == PE_USERNOTFOUND ) {
$self->userLogger->warn( "Check requested for an unvalid user ("