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:
Damian Mooyman 2016-08-12 14:10:56 +12:00 committed by GitHub
commit 3c1a5d2a46

View File

@ -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?")
));