User: Remove left-over (wrong) fix.

This commit is contained in:
lain 2020-12-02 13:39:29 +01:00
parent a32e13e6c4
commit 41d6225e2e

View file

@ -461,7 +461,6 @@ def remote_user_changeset(struct \\ %User{local: false}, params) do
|> validate_format(:nickname, @email_regex) |> validate_format(:nickname, @email_regex)
|> validate_length(:bio, max: bio_limit) |> validate_length(:bio, max: bio_limit)
|> validate_length(:name, max: name_limit) |> validate_length(:name, max: name_limit)
|> validate_inclusion(:local, [true])
|> validate_fields(true) |> validate_fields(true)
|> validate_non_local() |> validate_non_local()
end end