projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdea19
)
Larger bio length limit for remote accounts.
author
Roger Braun
<roger@rogerbraun.net>
Sat, 1 Jul 2017 00:00:12 +0000
(
02:00
+0200)
committer
Roger Braun
<roger@rogerbraun.net>
Sat, 1 Jul 2017 00:00:12 +0000
(
02:00
+0200)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 869a3eb1b5b77352b41b3920da7072ab488a2eeb..23e650ce5c9d1c0ba6270941320ef4951114510f 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-69,7
+69,7
@@
defmodule Pleroma.User do
|> validate_required([:name, :ap_id, :nickname])
|> unique_constraint(:nickname)
|> validate_format(:nickname, @email_regex)
- |> validate_length(:bio, max:
1
000)
+ |> validate_length(:bio, max:
5
000)
|> validate_length(:name, max: 100)
|> put_change(:local, false)
end