scribe/config/authentic.cr
Edward Loveall fcf3eb14d0
Initial app
2021-05-01 17:03:38 -04:00

10 lines
255 B
Crystal

require "./server"
Authentic.configure do |settings|
settings.secret_key = Lucky::Server.settings.secret_key_base
unless Lucky::Env.production?
fastest_encryption_possible = 4
settings.encryption_cost = fastest_encryption_possible
end
end