mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
feat(emailer): Added ability to configure sendmail
This commit is contained in:
parent
a62a61b008
commit
5ad4a7019d
2 changed files with 9 additions and 8 deletions
|
@ -435,11 +435,11 @@ $bb_cfg['invites_system'] = [
|
|||
];
|
||||
$bb_cfg['password_symbols'] = [
|
||||
// What symbols should be required in the password
|
||||
'nums' => true, // Numeric
|
||||
'spec_symbols' => false, // Special symbols
|
||||
'letters' => [ // Letters
|
||||
'uppercase' => true, // Uppercase letters
|
||||
'lowercase' => true // Lowercase letters
|
||||
'nums' => true,
|
||||
'spec_symbols' => false,
|
||||
'letters' => [
|
||||
'uppercase' => false,
|
||||
'lowercase' => true
|
||||
]
|
||||
];
|
||||
$bb_cfg['password_hash_options'] = [
|
||||
|
@ -451,6 +451,7 @@ $bb_cfg['password_hash_options'] = [
|
|||
// Email
|
||||
$bb_cfg['emailer'] = [
|
||||
'enabled' => true,
|
||||
'sendmail_command' => '/usr/sbin/sendmail -bs',
|
||||
'smtp' => [
|
||||
'enabled' => false, // send email via external SMTP server
|
||||
'host' => 'localhost', // SMTP server host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue