Convert username spaces to periods

This commit is contained in:
Tanner Collin 2020-02-28 07:00:35 +00:00
parent a3f113de6d
commit 529bcaa1de

View File

@ -76,7 +76,7 @@ export function SignupForm(props) {
const genUsername = () => (
input.first_name && input.last_name ?
(input.first_name + '.' + input.last_name).toLowerCase()
(input.first_name + '.' + input.last_name).toLowerCase().replace(/ /g, '.')
:
''
);