By pass first access (#1867)

This commit is contained in:
Christophe Maudoux 2019-08-21 23:40:23 +02:00
parent 9adc25e414
commit 894b8be541

View File

@ -119,7 +119,7 @@ sub getDisplayType {
return $self->conf->{combinationForms}
if ( $self->conf->{combinationForms} );
if ( $req->{error} > PE_OK ) {
if ( $req->{error} > PE_OK and $req->{error} != PE_FIRSTACCESS ) {
$self->logger->notice('Start over combination schema');
my $stack = $self->stackSub->( $req->env );
my ( $res, $name ) = $stack->[0]->[0]->( 'getDisplayType', $req );