Change occurances of user->profileField to user->get

This commit is contained in:
Colin Kuskie 2010-11-18 16:12:03 -08:00
parent ae48e7517a
commit 59c03b50e7
41 changed files with 86 additions and 86 deletions

View file

@ -1113,7 +1113,7 @@ sub www_emailRecoverPasswordFinish {
# generate information necessry to proceed
my $recoveryGuid = $session->id->generate();
my $userId = $user->userId; #get the user guid
$email = $user->profileField('email');
$email = $user->get('email');
if ( ! $email ) {
return $self->www_recoverPassword( $i18n->get( 'no email address', 'AuthWebGUI' ) );