Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG: Set visibility on login form methods to public.

  • Loading branch information...
commit a355e1d03df807cd404a3e1958cd4b04e86c91a0 1 parent 1303d82
@TheFrozenFire TheFrozenFire authored sminnee committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 security/Security.php
View
4 security/Security.php
@@ -243,7 +243,7 @@ public static function permissionFailure($controller = null, $messageSet = null)
/**
* Get the login form to process according to the submitted data
*/
- protected function LoginForm() {
+ public function LoginForm() {
if(isset($this->requestParams['AuthenticationMethod'])) {
$authenticator = trim($_REQUEST['AuthenticationMethod']);
@@ -270,7 +270,7 @@ protected function LoginForm() {
*
* @todo Check how to activate/deactivate authentication methods
*/
- protected function GetLoginForms()
+ public function GetLoginForms()
{
$forms = array();
Please sign in to comment.
Something went wrong with that request. Please try again.