mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG: Set visibility on login form methods to public.
This commit is contained in:
parent
1303d82bc0
commit
a355e1d03d
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user