mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #5872 from dhensby/pulls/3/injector-for-cmslogin
FIX Use create syntax for CMSMemberLoginForm remember me form
This commit is contained in:
commit
3c1a5d2a46
@ -37,7 +37,7 @@ class CMSMemberLoginForm extends LoginForm {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if(Security::config()->autologin_enabled) {
|
if(Security::config()->autologin_enabled) {
|
||||||
$fields->push(new CheckboxField(
|
$fields->push(CheckboxField::create(
|
||||||
"Remember",
|
"Remember",
|
||||||
_t('Member.REMEMBERME', "Remember me next time?")
|
_t('Member.REMEMBERME', "Remember me next time?")
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user