Fixed to not display the hashed password in the password field.
This commit is contained in:
parent
e8d55a5267
commit
8378da5353
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user