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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.1.0 Sprint 3 [ 127 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 12 minutes [ 720 ]
        Worklog Id 14807 [ 14807 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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