Provide default OTP_SECRET value for development environment (#6617)
This commit is contained in:
parent
7a6eaad445
commit
c110fa62ac
5 changed files with 7 additions and 2 deletions
|
@ -82,6 +82,8 @@ Rails.application.configure do
|
|||
|
||||
Bullet.add_whitelist type: :n_plus_one_query, class_name: 'User', association: :account
|
||||
end
|
||||
|
||||
config.x.otp_secret = ENV.fetch('OTP_SECRET', '1fc2b87989afa6351912abeebe31ffc5c476ead9bf8b3d74cbc4a302c7b69a45b40b1bbef3506ddad73e942e15ed5ca4b402bf9a66423626051104f4b5f05109')
|
||||
end
|
||||
|
||||
ActiveRecordQueryTrace.enabled = ENV.fetch('QUERY_TRACE_ENABLED') { false }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue