BUG: Set visibility on login form methods to public.

This commit is contained in:
Justin Martin 2012-12-13 10:23:52 -08:00 committed by Sam Minnee
parent 1303d82bc0
commit a355e1d03d

View File

@ -243,7 +243,7 @@ class Security extends Controller {
/** /**
* Get the login form to process according to the submitted data * Get the login form to process according to the submitted data
*/ */
protected function LoginForm() { public function LoginForm() {
if(isset($this->requestParams['AuthenticationMethod'])) { if(isset($this->requestParams['AuthenticationMethod'])) {
$authenticator = trim($_REQUEST['AuthenticationMethod']); $authenticator = trim($_REQUEST['AuthenticationMethod']);
@ -270,7 +270,7 @@ class Security extends Controller {
* *
* @todo Check how to activate/deactivate authentication methods * @todo Check how to activate/deactivate authentication methods
*/ */
protected function GetLoginForms() public function GetLoginForms()
{ {
$forms = array(); $forms = array();