Convert username spaces to periods
This commit is contained in:
@@ -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, '.')
|
||||||
:
|
:
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user