1
0
Fork 0
forked from mirrors/akkoma

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