logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 279b1d19f0bf90b76f37256ef20993f821e3024f
parent: d4a54a90c9ae39947c71876d4d2988a05a02d7a1
Author: lain <lain@soykaf.club>
Date:   Wed, 25 Apr 2018 15:41:59 +0200

Align local bio limits to remote limit.

Diffstat:

Mlib/pleroma/user.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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