Changeset 1859


Ignore:
Timestamp:
11/23/16 15:43:14 (8 years ago)
Author:
nanardon
Message:

Fix personnalMail not set in web ui

Location:
trunk/LATMOS-Accounts-Web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Users.pm

    r1858 r1859  
    111111        $c->stash->{user}->set_c_fields( 
    112112            mail => $c->req->param('mail') || undef, 
    113             personnalMail => $c->req->param('personnalMail') || undef, 
     113            otherEmail => $c->req->param('otherEmail') || undef, 
    114114            aliases => [ grep { $_ } $c->req->param('aliases') ], 
    115115            revaliases => $c->req->param('revaliases') || undef, 
  • trunk/LATMOS-Accounts-Web/root/html/users/mail.tt

    r1849 r1859  
    3131[% IF c.model('Accounts').db.check_acl(user, 'otherEmail', 'w') %] 
    3232[% showsubmit = 1 %] 
    33 <input type="text" name="otherEmail" value="[% user.get_c_field('personnalMail') | html %]"> 
     33<input type="text" name="otherEmail" value="[% user.get_c_field('otherEmail') | html %]"> 
    3434[% ELSE %] 
    3535[% user.get_c_field('otherEmail') | html %] 
Note: See TracChangeset for help on using the changeset viewer.