Skip to content
Merged
Prev Previous commit
Next Next commit
remove change user's email to lower
  • Loading branch information
lunny committed Jun 8, 2021
commit 1ab6eb2dd9694c0c091d69c9e3b62584173cf6b9
1 change: 0 additions & 1 deletion models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,6 @@ func CreateUser(u *User) (err error) {
return err
}

u.Email = strings.ToLower(u.Email)
if err = ValidateEmail(u.Email); err != nil {
return err
}
Expand Down