mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Security->LostPasswordForm() code formatting changes for clarity
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64404 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e820c88be0
commit
e8e197c298
@ -401,13 +401,20 @@ class Security extends Controller {
|
||||
* @return Form Returns the lost password form
|
||||
*/
|
||||
public function LostPasswordForm() {
|
||||
return new MemberLoginForm($this, 'LostPasswordForm',
|
||||
new FieldSet(new EmailField('Email', _t('Member.EMAIL'))),
|
||||
new FieldSet(new FormAction(
|
||||
return new MemberLoginForm(
|
||||
$this,
|
||||
'LostPasswordForm',
|
||||
new FieldSet(
|
||||
new EmailField('Email', _t('Member.EMAIL'))
|
||||
),
|
||||
new FieldSet(
|
||||
new FormAction(
|
||||
'forgotPassword',
|
||||
_t('Security.BUTTONSEND', 'Send me the password reset link')
|
||||
)),
|
||||
false);
|
||||
)
|
||||
),
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user