User: Remove left-over (wrong) fix.
This commit is contained in:
parent
222312900e
commit
04af0bbe44
|
@ -472,7 +472,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
|
||||||
|
|
Loading…
Reference in New Issue