feat(auth): use Strings.createUsername in app settings

This commit is contained in:
Aminejv 2021-06-23 19:01:07 +01:00
parent 2aae15c101
commit a62d0dd8b9

View File

@ -192,7 +192,7 @@ export default class SceneEditAccount extends React.Component {
};
_handleUsernameChange = (e) => {
this.setState({ [e.target.name]: e.target.value.toLowerCase() });
this.setState({ [e.target.name]: Strings.createUsername(e.target.value) });
};
_handleDelete = async (res) => {