Commit ac04ba24 authored by lain's avatar lain
Browse files

Larger bio length limit for remote accounts.

parent 9bdea19d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment