Merge pull request #1031 from TheFrozenFire/fix-SecurityFormVisibility

BUG: Set visibility on login form methods to public.
This commit is contained in:
Sam Minnée 2012-12-13 16:40:37 -08:00
commit 5c4dc968ae

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();