From: lain Date: Wed, 25 Apr 2018 13:41:59 +0000 (+0200) Subject: Align local bio limits to remote limit. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=279b1d19f0bf90b76f37256ef20993f821e3024f;p=akkoma Align local bio limits to remote limit. --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index e9196ae03..207674999 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -104,7 +104,7 @@ defmodule Pleroma.User do |> cast(params, [:bio, :name]) |> unique_constraint(:nickname) |> validate_format(:nickname, ~r/^[a-zA-Z\d]+$/) - |> validate_length(:bio, max: 1000) + |> validate_length(:bio, max: 5000) |> validate_length(:name, min: 1, max: 100) end