added style switch for user functions

This commit is contained in:
JT Smith 2005-02-07 03:38:37 +00:00
parent d1f8e2bf20
commit 4f7a7740d7
9 changed files with 36 additions and 9 deletions

View file

@ -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);
}
#-------------------------------------------------------------------