Fixed #7099 - set email to null by default for backup notifications

This commit is contained in:
snipe 2019-05-29 19:09:37 -07:00
parent b07a254e60
commit 37f950ab42
2 changed files with 2 additions and 1 deletions

View file

@ -43,6 +43,7 @@ MAIL_FROM_ADDR=you@example.com
MAIL_FROM_NAME='Snipe-IT' MAIL_FROM_NAME='Snipe-IT'
MAIL_REPLYTO_ADDR=you@example.com MAIL_REPLYTO_ADDR=you@example.com
MAIL_REPLYTO_NAME='Snipe-IT' MAIL_REPLYTO_NAME='Snipe-IT'
MAIL_BACKUP_NOTIFICATION_ADDRESS=you@example.com
# -------------------------------------------- # --------------------------------------------
# REQUIRED: IMAGE LIBRARY # REQUIRED: IMAGE LIBRARY

View file

@ -132,7 +132,7 @@ return [
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, 'notifiable' => \Spatie\Backup\Notifications\Notifiable::class,
'mail' => [ 'mail' => [
'to' => 'your@example.com', 'to' => env('MAIL_BACKUP_NOTIFICATION_ADDRESS', null),
], ],
'slack' => [ 'slack' => [