# Configuration to put in ~/.config/baguette/auth.yml or in /etc/baguette/auth.yml

# Login and password so `authctl` can be authenticated to `authd`.
login: admin
pass: secret

# Path to the log file. By default, everything is just printed on screen.
log_file: /var/log/baguette/auth.log

# In case you have a special `mailer` application.
# Read the manual to understand how it is invoked.
mailer_exe: /usr/local/bin/my-special-mailer

# File used as password to encrypt user passwords.
secret_key_file: /var/authd/password

# Path to the database.
storage_directory: /var/authd/db

# Does symlinks have to be recreated each time the app starts?
#recreate_indexes: false

# Are registrations open? Does it require an email?
registrations: true
require_email: true

# Name of the email templates for account activation and password recovery.
activation_template: netlibre-email-activation
recovery_template:   netlibre-email-recovery

# Read-only user profile keys (to prevent modification from third-parties).
#read_only_profile_keys: []

# IPC wake-up timer, see libipc(7).
#ipc_timer: 30000 # 30 seconds

# Name of the `authd` IPC service.
#service_name: auth

#
# Verbosity-related options.
#

#verbosity: 4

# By default, print everything except KEEPALIVE messages.
#messages_to_mask: [KEEPALIVE]

#print_password_recovery_parameters: false

# IPC-related messages. By default, only print errors and exceptions.
#ipc_messages_to_show: [ERROR, EXCEPTION]