diff options
author | lain <lain@soykaf.club> | 2018-04-25 15:41:59 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-04-25 15:41:59 +0200 |
commit | 279b1d19f0bf90b76f37256ef20993f821e3024f (patch) | |
tree | 11e13cc2ea936aa0a1a237e4191810ae7b4693b0 /lib | |
parent | d4a54a90c9ae39947c71876d4d2988a05a02d7a1 (diff) | |
download | pleroma-279b1d19f0bf90b76f37256ef20993f821e3024f.tar.gz |
Align local bio limits to remote limit.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/user.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |