Skip to content

Commit

Permalink
Fixed #7099 - set email to null by default for backup notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed May 30, 2019
1 parent b07a254 commit 37f950a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ [email protected]
MAIL_FROM_NAME='Snipe-IT'
MAIL_REPLYTO_ADDR=[email protected]
MAIL_REPLYTO_NAME='Snipe-IT'
MAIL_BACKUP_NOTIFICATION_ADDRESS=[email protected]

# --------------------------------------------
# REQUIRED: IMAGE LIBRARY
Expand Down
2 changes: 1 addition & 1 deletion config/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class,

'mail' => [
'to' => '[email protected]',
'to' => env('MAIL_BACKUP_NOTIFICATION_ADDRESS', null),
],

'slack' => [
Expand Down

0 comments on commit 37f950a

Please sign in to comment.