version tags are roughed in
This commit is contained in:
parent
4de26f6410
commit
3d12d52a8e
8 changed files with 189 additions and 9 deletions
|
|
@ -41,8 +41,8 @@ sub getInstance {
|
|||
#Create Auth Object
|
||||
my $cmd = "WebGUI::Auth::".$authMethod;
|
||||
my $load = "use ".$cmd;
|
||||
WebGUI::ErrorHandler::fatal("Authentication module failed to compile: $cmd.".$@) if($@);
|
||||
eval($load);
|
||||
WebGUI::ErrorHandler::fatal("Authentication module failed to compile: $cmd.".$@) if($@);
|
||||
my $auth = eval{$cmd->new($authMethod,$userId)};
|
||||
WebGUI::ErrorHandler::fatal("Couldn't instanciate authentication module: $authMethod. Root cause: ".$@) if($@);
|
||||
return $auth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue