refactored user manager to use new profile backend
This commit is contained in:
parent
5941f6d3f8
commit
a20aa5f587
5 changed files with 23 additions and 55 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue