aboutsummaryrefslogtreecommitdiff
path: root/config/authentic.cr
blob: b9efc318bc4854719300a9f7262d96c34e316dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
require "./server"

Authentic.configure do |settings|
  settings.secret_key = Lucky::Server.settings.secret_key_base

  unless LuckyEnv.production?
    # This value can be between 4 and 31
    fastest_encryption_possible = 4
    settings.encryption_cost = fastest_encryption_possible
  end
end