2021-05-01 23:02:08 +02:00
|
|
|
require "./server"
|
|
|
|
|
|
|
|
Authentic.configure do |settings|
|
|
|
|
settings.secret_key = Lucky::Server.settings.secret_key_base
|
|
|
|
|
2021-12-12 18:01:55 +01:00
|
|
|
unless LuckyEnv.production?
|
|
|
|
# This value can be between 4 and 31
|
2021-05-01 23:02:08 +02:00
|
|
|
fastest_encryption_possible = 4
|
|
|
|
settings.encryption_cost = fastest_encryption_possible
|
|
|
|
end
|
|
|
|
end
|