mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 02:55:48 +01:00
Format
This commit is contained in:
parent
6f25668215
commit
d72d4757a8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user