[fix] fixed validation when register an user

Typo: `trimed` -> `trimmed`