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

Fix #20242
main
Eugen Rochko 2 years ago committed by GitHub
parent 9feba112a7
commit c6c7c6223d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save