diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-11-10 21:09:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 21:09:03 +0100 |
commit | c6c7c6223d92fb43033735d2b754dd360feaf3d9 (patch) | |
tree | 15051913b7a3803ad9384c6202901321ddef526b /app/models/account | |
parent | 9feba112a704edc23b4c2240a546363f9e1158b1 (diff) |
Change verification to only work for https links (#20304)
Fix #20242
Diffstat (limited to 'app/models/account')
-rw-r--r-- | app/models/account/field.rb | 2 |
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 |