mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Use create syntax for CMSMemberLoginForm remember me form
This commit is contained in:
parent
0dcffda0e8
commit
86add3e021
@ -37,7 +37,7 @@ class CMSMemberLoginForm extends LoginForm {
|
||||
);
|
||||
|
||||
if(Security::config()->autologin_enabled) {
|
||||
$fields->push(new CheckboxField(
|
||||
$fields->push(CheckboxField::create(
|
||||
"Remember",
|
||||
_t('Member.REMEMBERME', "Remember me next time?")
|
||||
));
|
||||
|
Loading…
x
Reference in New Issue
Block a user