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