Commit 448f39ff authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix return value (#1550)

parent d67136b6
...@@ -63,7 +63,8 @@ sub setAuthSessionInfo { ...@@ -63,7 +63,8 @@ sub setAuthSessionInfo {
} }
sub getDisplayType { sub getDisplayType {
return ( $_[0]->conf->{sslByAjax} ? "sslform" : "logo" ); my ( $self ) = @_;
$self->{conf}->{sslByAjax} ? return "sslform" : return "logo";
} }
1; 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment