User: Remove left-over (wrong) fix.

This commit is contained in:
lain 2020-12-02 13:39:29 +01:00
parent 222312900e
commit 04af0bbe44

View File

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