Skip to content
Snippets Groups Projects

Adding patch 134 to create MR

Closes #601776

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
76 76 '#default_value' => $user->uid ? $user->mail : '',
77 77 '#required' => TRUE,
78 78 );
79
80 // Do not allow authenticated users to alter the name or e-mail values to
81 // prevent the impersonation of other users.
82 if ($user->uid) {
83 $form['name']['#disabled'] = $form['mail']['#disabled'] = TRUE;
84
  • 218 226 '#default_value' => $user->uid ? $user->mail : '',
    219 227 '#required' => TRUE,
    220 228 );
    229
    230 // Do not allow authenticated users to alter the name or e-mail values to
    231 // prevent the impersonation of other users.
    232 if (!empty($user->uid)) {
  • 218 226 '#default_value' => $user->uid ? $user->mail : '',
    219 227 '#required' => TRUE,
    220 228 );
    229
    230 // Do not allow authenticated users to alter the name or e-mail values to
    231 // prevent the impersonation of other users.
    232 if (!empty($user->uid)) {
    233 $form['name']['#disabled'] = $form['mail']['#disabled'] = FALSE;
  • added 1 commit

    • c187f0b1 - Fixed what reported in the review

    Compare with previous version

  • Please register or sign in to reply
    Loading