mix pleroma.user new: error when creating a user with an underscore in the name
$ mix pleroma.user new example_name name@example.com -y
A user will be created with the following information:
- nickname: example_name
- email: name@example.com
- password: [generated; a reset link will be created]
- name: example_name
- bio:
- moderator: false
- admin: false
** (MatchError) no match of right hand side value: {:error, #Ecto.Changeset<action: :insert, changes: %{email: "name@example.com", info: #Ecto.Changeset<action: :insert, changes: %{}, errors: [], data: #Pleroma.User.Info<>, valid?: true>, name: "example_name", nickname: "example_name", password: "lqP63dQvTwMSSDN08spGcw==", password_confirmation: "lqP63dQvTwMSSDN08spGcw=="}, errors: [nickname: {"has invalid format", [validation: :format]}], data: #Pleroma.User<>, valid?: false>}
(pleroma) lib/mix/tasks/pleroma/user.ex:151: Mix.Tasks.Pleroma.User.run/1
(mix) lib/mix/task.ex:331: Mix.Task.run_task/3
(mix) lib/mix/cli.ex:79: Mix.CLI.run_task/2