User invalid format if dot ('.') in the username
I believe this to be a similar issue than what lead to MR 537.
I have LDAP users with dots .
in their login, and this is a deal-breaker for Pleroma currently (though logs are not reporting the format error).
Testing locally to create a admin.pleroma
user outputs the format error:
** (MatchError) no match of right hand side value: {:error, #Ecto.Changeset<action: :insert, changes: %{email: "pleroma@example.com", info: #Ecto.Changeset<action: :insert, changes: %{}, errors: [], data: #Pleroma.User.Info<>, valid?: true>, name: "admin.pleroma", nickname: "admin.pleroma", password: "ZIC9ZnO6nHsTO4FXb49/1A==", password_confirmation: "ZIC9ZnO6nHsTO4FXb49/1A=="}, errors: [nickname: {"has invalid format", [validation: :format]}], data: #Pleroma.User<>, valid?: false>}
(pleroma) lib/mix/tasks/pleroma/user.ex:155: 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