Fixed a critical typing mistake

There was a typo which won't let users register properly.