2019-06-20 20:48:19 +02:00
|
|
|
class ApplicationController < ActionController::API
|
2019-06-21 20:01:43 +02:00
|
|
|
include Response
|
2020-05-21 07:46:41 +02:00
|
|
|
|
|
|
|
|
include ActionController::HttpAuthentication::Basic::ControllerMethods
|
|
|
|
|
http_basic_authenticate_with name: ENV['BASIC_AUTH_USERNAME'],
|
|
|
|
|
password: ENV['BASIC_AUTH_PASSWORD']
|
2019-06-20 20:48:19 +02:00
|
|
|
end
|