USEPA / GeoPlatform-Request-Tool

Provisions EPA GeoPlatform (GPO) user accounts during emergency response events and projects
6 stars 2 forks source link

Strip non-alphanumeric characters from names when creating username. #151

Open abprins opened 8 months ago

abprins commented 8 months ago

GPO usernames with punctuation (apostrophes etc.) that are suggested through the Account Request Tool can't be created through the tool until the punctuation is manually removed. I think we need a little warning message when this happens.

image

tbock commented 8 months ago

I think we just strip non-alphanumeric characters automatically. That ok @abprins This does not count the dot in the username.

abprins commented 8 months ago

@tbock yeah that's even better.