Skip to content

Commit c865c76

Browse files
authored
Fix registration problems where people's names are called invalid (#2377)
It is now used as a display name.
1 parent ebb8adb commit c865c76

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/nerves_hub/accounts/user.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ defmodule NervesHub.Accounts.User do
105105
|> update_change(:name, &trim/1)
106106
|> validate_required([:name])
107107
|> validate_length(:name, min: 2, max: 100)
108-
|> validate_format(:name, ~r/^[a-zA-Z\'\- ]+$/, message: "has invalid character(s)")
109108
end
110109

111110
defp validate_email(changeset, _opts) do

0 commit comments

Comments
 (0)