Commit e6259754 authored by Christophe Maudoux's avatar Christophe Maudoux

WIP - Fix call Custom with Choice (#1550)

parent c9d92de3
......@@ -10,8 +10,16 @@ sub new {
eval $self->{p}->loadModule( $self->{conf}->{customAuth} );
($@)
? return $self->{p}->loadModule( $self->{conf}->{customAuth} )
: die 'Unable to load Auth module ' . $self->{conf}->{customAuth};
? return $self->{p}->loadModule( $self->{conf}->{customAuth} )
: die 'Unable to load Auth module ' . $self->{conf}->{customAuth};
}
sub getDisplayType {
my ( $class, $self ) = @_;
( -e $self->{conf}->{templateDir}
. "/../htdocs/static/common/modules/"
. $self->{conf}->{customAuth}
. ".png" ) ? return "logo" : return "standardform";
}
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