From e8e197c2985e9f3fc69ee6ce9a779d62c3bcf440 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 16 Oct 2008 11:08:52 +0000 Subject: [PATCH] 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 --- security/Security.php | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/security/Security.php b/security/Security.php index 19bf7d341..b5190789f 100644 --- a/security/Security.php +++ b/security/Security.php @@ -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( - 'forgotPassword', - _t('Security.BUTTONSEND', 'Send me the password reset link') - )), - false); + 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 + ); }