Skip to content

Commit

Permalink
Revert "[User Accounts] Email encoding issue (Redmine10193) (#2018)"
Browse files Browse the repository at this point in the history
This reverts commit 8e0ea13.
  • Loading branch information
ridz1208 authored Jul 12, 2022
1 parent c055398 commit 39a71ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/user_accounts/php/NDB_Form_user_accounts.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -922,9 +922,6 @@ class NDB_Form_User_Accounts extends NDB_Form
*/
private function _getEmailError($DB, $email)
{
// remove illegal characters
$email = filter_var($email, FILTER_SANITIZE_EMAIL);

// check email address' uniqueness
$query = "SELECT COUNT(*) FROM users WHERE Email = :VEmail ";
$params = array('VEmail' => $email);
Expand Down

0 comments on commit 39a71ce

Please sign in to comment.