projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f25668
)
Format
author
Maxim Filippov
<colixer@gmail.com>
Sun, 22 Sep 2019 20:13:48 +0000
(23:13 +0300)
committer
Maxim Filippov
<colixer@gmail.com>
Sun, 22 Sep 2019 20:13:48 +0000
(23:13 +0300)
lib/pleroma/user/info.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user/info.ex
b/lib/pleroma/user/info.ex
index 67abc3ecdc4052d0790b6fc67b1d50975db90151..99745f496d64bb728fbfd419210d65d2dbad0311 100644
(file)
--- a/
lib/pleroma/user/info.ex
+++ b/
lib/pleroma/user/info.ex
@@
-342,7
+342,9
@@
defmodule Pleroma.User.Info do
name_limit = Pleroma.Config.get([:instance, :account_field_name_length], 255)
value_limit = Pleroma.Config.get([:instance, :account_field_value_length], 255)
- is_binary(name) && is_binary(value) && String.length(name) <= name_limit &&
+ is_binary(name) &&
+ is_binary(value) &&
+ String.length(name) <= name_limit &&
String.length(value) <= value_limit
end