Fixed to not display the hashed password in the password field.

dev
Loic d'Anterroches 2008-12-07 09:46:08 +01:00
parent e8d55a5267
commit 8378da5353
1 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,9 @@ class IDF_Views_User
return new Pluf_HTTP_Response_Redirect($url);
}
} else {
$form = new IDF_Form_UserAccount($request->user->getData(), $params);
$data = $request->user->getData();
unset($data['password']);
$form = new IDF_Form_UserAccount($data, $params);
}
return Pluf_Shortcuts_RenderToResponse('idf/user/myaccount.html',
array('page_title' => __('Your Account'),