0
0
Fork 0

Provide default OTP_SECRET value for development environment (#6617)

This commit is contained in:
Akihiko Odaki 2018-03-05 04:28:24 +09:00 committed by Eugen Rochko
parent 7a6eaad445
commit c110fa62ac
5 changed files with 7 additions and 2 deletions

View file

@ -96,4 +96,6 @@ Rails.application.configure do
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '1; mode=block',
}
config.x.otp_secret = ENV.fetch('OTP_SECRET')
end