bug fixes
This commit is contained in:
parent
d7d6819204
commit
88c42da7a0
14 changed files with 59 additions and 23 deletions
|
|
@ -53,7 +53,7 @@ sub www_auth {
|
|||
my $auth;
|
||||
($auth) = WebGUI::SQL->quickArray("select authMethod from users where username=".quote($session{form}{username})) if($session{form}{username});
|
||||
my $authMethod = getInstance($auth);
|
||||
my $methodCall = $session{form}{method} || $_[0];
|
||||
my $methodCall = $session{form}{method} || $_[0] || "init";
|
||||
if(!$authMethod->isCallable($methodCall)){
|
||||
WebGUI::ErrorHandler::security("access uncallable auth method on page '".$session{page}{title}."' [".$session{page}{pageId}."].");
|
||||
return WebGUI::International::get(1077);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue