cookie_name)) { $config->cookie_name = 'das-macaroon'; } if(!isset($config->secret)) { $config->secret = 'pocsecret'; } if(!isset($config->identifier_format)) { $config->identifier_format = '{{firstname}};{{lastname}}'; } if(!isset($config->email_config)) { $config->email_config = '{{firstname}}.{{lastname}}@company.tld'; } // Caveats if(!isset($config->caveat1_condition)) { $config->caveat1_condition = ''; } if(!isset($config->caveat2_condition)) { $config->caveat2_condition = ''; } if(!isset($config->caveat3_condition)) { $config->caveat3_condition = ''; } ?>

Macaroons configuration

Name of the cookie your macaroon is located in.
The secret your macaroon was signed with
Your Macaroon's identifier format. Available placeholders are {{username}}, {{firstname}}, {{lastname}}. Elements must me delimited with semicolons (";").
eg: {{firstname}};{{lastname}}
Template for emails. Available placeholders are {{firstname}} and {{lastname}}.
eg: {{firstname}}.{{lastname}}@company.tld
The condition in your macaroon's first caveat (optional)
The condition in your macaroon's second caveat (optional)
The condition in your macaroon's third caveat (optional)