1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 02:55:48 +01:00
This commit is contained in:
Maxim Filippov 2019-09-22 23:13:48 +03:00
parent 6f25668215
commit d72d4757a8

View File

@ -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