mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 20:27:30 +02:00
Change name of API key
This commit is contained in:
parent
83b5dc6fc7
commit
bb7effc370
2 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,7 @@ module Api
|
|||
end
|
||||
|
||||
def authenticate_shared_key
|
||||
api_key = "Basic #{ENV['api_shared_key']}"
|
||||
api_key = "Basic #{ENV['internal_api_key']}"
|
||||
head(:unauthorized) unless api_key == request.authorization
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue