Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4195

Client account info edit always sends email verification

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.4
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce:

      • Simply login as a client and save authentication info

      To resolve, updated app/controllers/client_main.php in the edit() method. Change:

                  unset($vars['user_id']);
                  $this->Contacts->edit($this->contact->id, $vars);
      

      To

                  unset($vars['user_id']);
                  if ($vars['email'] !== $this->contact->email) {
                      $vars['verify'] = false;
                  }
                  $this->Contacts->edit($this->contact->id, $vars);
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Apr/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 12 minutes
              12m

                Agile