about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-11-10 21:09:03 +0100
committerGitHub <noreply@github.com>2022-11-10 21:09:03 +0100
commitc6c7c6223d92fb43033735d2b754dd360feaf3d9 (patch)
tree15051913b7a3803ad9384c6202901321ddef526b
parent9feba112a704edc23b4c2240a546363f9e1158b1 (diff)
Change verification to only work for https links (#20304)
Fix #20242
-rw-r--r--app/models/account/field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account/field.rb b/app/models/account/field.rb
index d74f90b2b..e84a0eeb1 100644
--- a/app/models/account/field.rb
+++ b/app/models/account/field.rb
@@ -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