Fix return value (#1550)

This commit is contained in:
Christophe Maudoux 2018-11-21 20:58:42 +01:00
parent d67136b6e4
commit 448f39ff1c

View File

@ -63,7 +63,8 @@ sub setAuthSessionInfo {
}
sub getDisplayType {
return ( $_[0]->conf->{sslByAjax} ? "sslform" : "logo" );
my ( $self ) = @_;
$self->{conf}->{sslByAjax} ? return "sslform" : return "logo";
}
1;