added style switch for user functions
This commit is contained in:
parent
d1f8e2bf20
commit
4f7a7740d7
9 changed files with 36 additions and 9 deletions
|
|
@ -16,12 +16,14 @@ package WebGUI::Operation::Auth;
|
|||
use strict qw(vars subs);
|
||||
use URI;
|
||||
use WebGUI::ErrorHandler;
|
||||
use WebGUI::Operation::Shared;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::SQL;
|
||||
use WebGUI::URL;
|
||||
use WebGUI::User;
|
||||
use WebGUI::Utility;
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getInstance ( )
|
||||
|
|
@ -56,7 +58,7 @@ sub www_auth {
|
|||
WebGUI::ErrorHandler::security("access uncallable auth method on page '".$session{page}{title}."' [".$session{page}{pageId}."].");
|
||||
return WebGUI::International::get(1077);
|
||||
}
|
||||
return $authMethod->$methodCall;
|
||||
return WebGUI::Operation::Shared::userStyle($authMethod->$methodCall);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue