diff options
Diffstat (limited to 'application/controllers/user.php')
-rw-r--r-- | application/controllers/user.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php index 37cf97fe1..21d5d21f5 100644 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -468,8 +468,7 @@ class User extends MY_Controller { return null; } - $this->load->helper("email"); - if (!valid_email($value)) { + if (!$this->muser->valid_email($value)) { throw new \exceptions\PublicApiException("user/profile/invalid-email", "Invalid email"); } |