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);