Larger bio length limit for remote accounts.

This commit is contained in:
Roger Braun 2017-07-01 02:00:12 +02:00
parent 9bdea19d83
commit ac04ba240a
1 changed files with 1 additions and 1 deletions

View File

@ -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