fix: WebGUI/Auth.pm -- Required fields on Create Account show up with HASH(0xblah) as their value

fix: Added some i18n for password security measures that was neglected.
Fixed some coding standards with some subs.
This commit is contained in:
Doug Bell 2007-07-06 00:36:19 +00:00
parent 2a39d6a828
commit 32c2091360
4 changed files with 139 additions and 80 deletions

View file

@ -183,7 +183,7 @@ sub createAccount {
foreach my $field (@{WebGUI::ProfileField->getRegistrationFields($self->session)}) {
my $id = $field->getId;
my $label = $field->getLabel;
my $emailAddress = {};
my $emailAddress = '';
if ($field->get('fieldName') eq "email" && $userInvitation ) {
my $code = $self->session->form->get('code')
|| $self->session->form->get('uniqueUserInvitationCode');
@ -195,7 +195,7 @@ sub createAccount {
# Old-style field loop.
push @{$vars->{'create.form.profile'}},
+{ 'profile.formElement' => $formField,
{ 'profile.formElement' => $formField,
'profile.formElement.label' => $label,
'profile.required' => $required };