Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-09 00:09:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-09 00:09:55 +0300
commit6869f07304d5bcea12ec61ca6362259f3c72fdf8 (patch)
tree486145ef7341ea60b9c2d6e1e1fa44162e912316 /app/models/pages_domain_acme_order.rb
parent8b0d3151ae81cef695647771d1781c535d6f6cf5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/pages_domain_acme_order.rb')
-rw-r--r--app/models/pages_domain_acme_order.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/pages_domain_acme_order.rb b/app/models/pages_domain_acme_order.rb
index 8427176fa72..80688e8d247 100644
--- a/app/models/pages_domain_acme_order.rb
+++ b/app/models/pages_domain_acme_order.rb
@@ -13,10 +13,10 @@ class PagesDomainAcmeOrder < ApplicationRecord
validates :private_key, presence: true
attr_encrypted :private_key,
- mode: :per_attribute_iv,
- key: Settings.attr_encrypted_db_key_base_32,
- algorithm: 'aes-256-gcm',
- encode: true
+ mode: :per_attribute_iv,
+ key: Settings.attr_encrypted_db_key_base_32,
+ algorithm: 'aes-256-gcm',
+ encode: true
def self.find_by_domain_and_token(domain_name, challenge_token)
joins(:pages_domain).find_by(pages_domains: { domain: domain_name }, challenge_token: challenge_token)