Larger bio length limit for remote accounts.
This commit is contained in:
parent
9bdea19d83
commit
ac04ba240a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def remote_user_creation(params) do
|
||||||
|> validate_required([:name, :ap_id, :nickname])
|
|> validate_required([:name, :ap_id, :nickname])
|
||||||
|> unique_constraint(:nickname)
|
|> unique_constraint(:nickname)
|
||||||
|> validate_format(:nickname, @email_regex)
|
|> validate_format(:nickname, @email_regex)
|
||||||
|> validate_length(:bio, max: 1000)
|
|> validate_length(:bio, max: 5000)
|
||||||
|> validate_length(:name, max: 100)
|
|> validate_length(:name, max: 100)
|
||||||
|> put_change(:local, false)
|
|> put_change(:local, false)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue