Change verification to only work for https links (#20304)

Fix #20242
lolsob-rspec
Eugen Rochko 2022-11-10 21:09:03 +01:00 committed by GitHub
parent 24af2c05bc
commit faaa47c421
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
class Account::Field < ActiveModelSerializers::Model class Account::Field < ActiveModelSerializers::Model
MAX_CHARACTERS_LOCAL = 255 MAX_CHARACTERS_LOCAL = 255
MAX_CHARACTERS_COMPAT = 2_047 MAX_CHARACTERS_COMPAT = 2_047
ACCEPTED_SCHEMES = %w(http https).freeze ACCEPTED_SCHEMES = %w(https).freeze
attributes :name, :value, :verified_at, :account attributes :name, :value, :verified_at, :account