forked from AkkomaGang/akkoma
User: Remove left-over (wrong) fix.
This commit is contained in:
parent
a32e13e6c4
commit
41d6225e2e
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue