Convert username spaces to periods
This commit is contained in:
parent
a3f113de6d
commit
529bcaa1de
|
@ -76,7 +76,7 @@ export function SignupForm(props) {
|
||||||
|
|
||||||
const genUsername = () => (
|
const genUsername = () => (
|
||||||
input.first_name && input.last_name ?
|
input.first_name && input.last_name ?
|
||||||
(input.first_name + '.' + input.last_name).toLowerCase()
|
(input.first_name + '.' + input.last_name).toLowerCase().replace(/ /g, '.')
|
||||||
:
|
:
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user