mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Tests for registrar ip whitelist
This commit is contained in:
parent
9fd54025f5
commit
a7a984d999
3 changed files with 32 additions and 4 deletions
|
@ -15,7 +15,7 @@ class Registrar::SessionsController < ::SessionsController
|
|||
# rubocop:disable Metrics/CyclomaticComplexity
|
||||
def create
|
||||
@depp_user = Depp::User.new(params[:depp_user].merge(
|
||||
pki: !Rails.env.development?
|
||||
pki: !(Rails.env.development? || Rails.env.test?)
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue