2024-07-01 20:39:32 +02:00
|
|
|
require "baguette-crystal-base"
|
|
|
|
|
|
|
|
class Baguette::Configuration
|
|
|
|
class Auth < IPC
|
|
|
|
property service_name : String = "auth"
|
|
|
|
property recreate_indexes : Bool = false
|
2024-12-10 20:35:55 +01:00
|
|
|
property storage_directory : String = "db-authd"
|
2024-07-01 20:39:32 +02:00
|
|
|
property registrations : Bool = false
|
|
|
|
property require_email : Bool = false
|
|
|
|
property activation_template : String = "email-activation"
|
|
|
|
property recovery_template : String = "email-recovery"
|
|
|
|
property mailer_exe : String = "/usr/local/bin/mailer"
|
|
|
|
property read_only_profile_keys : Array(String) = Array(String).new
|
|
|
|
|
|
|
|
property print_password_recovery_parameters : Bool = false
|
|
|
|
end
|
|
|
|
end
|