acipm / kibicara

Kibicara distributes text messages between different social media and messenger platforms
https://acipm.github.io/kibicara/
Other
2 stars 0 forks source link

Trim whitespace from account email address when trying to register/login #74

Open m-rey opened 3 years ago

m-rey commented 3 years ago

I noticed while logging in as a hood admin that whitespace before and after the email address doesn't get trimmed. Thus you can't login if there's whitespace.

Why does this matter? It matters, because for example many mobile keyboards with autocorrect and autosuggest automatically add a space after the text. so typing in foo@bar.xyzresults in foo@bar.xyzbeing entered, which then results in the hood admin not being able to login and wondering what is wrong.

acipm commented 3 years ago

There are different ways to solve this:

Either way, you can find the register and login components here:

Tbh I don't think this is a very big issue.