refactored user manager to use new profile backend

This commit is contained in:
JT Smith 2005-12-07 17:36:08 +00:00
parent 5941f6d3f8
commit a20aa5f587
5 changed files with 23 additions and 55 deletions

View file

@ -136,7 +136,7 @@ sub www_editProfileSave {
$u = WebGUI::User->new($session{user}{userId});
foreach $fieldName (keys %{$profile}) {
$u->profileField($fieldName,WebGUI::HTML::filter(${$profile}{$fieldName},"javascript"));
$u->profileField($fieldName,$profile->{$fieldName});
}
WebGUI::Session::refreshUserInfo($session{user}{userId});
return WebGUI::Operation::Auth::www_auth();