<?php
namespace Tlf\User;
/**
* Defines configurable options. The string key of the option is `user.` followed by the const's declared name.
* i.e. const name_from is for key 'user.name_from'
*/
class Configurations {
##### programmatically configurable #####
## Programattically configurable options can be set in the user-config.json, but they are not editable from the admin dashboard
// default is `/user/`. To set after instantiating EasyServer, use `$lia->set('user.base_url', '/user-login/');`
const base_url = 'user.base_url';
/** Array, choose from 'login', 'register', 'reset-password', 'logout', or 'terms' */
// default is []
const disabled_pages = 'user.disabled_pages';
// default is MailService::PHP_MAIL
const mail_service = 'user.mail_service';
// used for MailService::CUSTOM_CALLABLE. No default
const mail_service_callable = 'user.mail_service_callable';
##### user configurable #####
const web_address = 'user.web_address';
const email_from = 'user.email_from';
const name_from = 'user.name_from';
// Used for MailService::LIB_PHPMAILER
const smtp_host = 'user.smtp_host';
/** It's best to set this programmatically from your Environment settings & leave this blank in user-configs */
const smtp_password = 'user.smtp_password';
}