mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Use inflector rule to acronym Api to API
This commit is contained in:
parent
42004f933f
commit
06f5eb10d4
25 changed files with 44 additions and 43 deletions
|
@ -7,7 +7,7 @@ class Epp::SessionsController < EppController
|
|||
|
||||
def login
|
||||
success = true
|
||||
@api_user = ApiUser.find_by(login_params)
|
||||
@api_user = APIUser.find_by(login_params)
|
||||
|
||||
webclient_request = ENV['webclient_ips'].split(',').map(&:strip).include?(request.ip)
|
||||
if webclient_request && !Rails.env.test? && !Rails.env.development?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue