I am testing flarum and see "bug",
i dont register user with name "test name", space dont correct in name, maybe add space in config:
DIR: flarum\vendor\flarum\core\src\User\UserValidator.php
before:
44. return [
45. 'username' => [
46. 'required',
47. 'regex:/^[a-z0-9_-]+$/i',
48. 'unique:users,username'.$idSuffix,
49. 'min:3',
50. 'max:30'
51. ],
after:
44. return [
45. 'username' => [
46. 'required',
47. 'regex:/^[a-z 0-9_-]+$/i',
48. 'unique:users,username'.$idSuffix,
49. 'min:3',
50. 'max:30'
51. ],
screens: