services: web: Use the Patchwork default-from-email.

Previously this wasn't used, but it should have been.

* gnu/services/web.scm (patchwork-settings-module-compiler): Use the
default-from-email.
This commit is contained in:
Christopher Baines 2020-02-09 11:17:13 +00:00
parent 5998ac14f3
commit f325a33e16
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1436,6 +1436,10 @@ (define (create-__init__.py filename)
allowed-hosts))
"]
DEFAULT_FROM_EMAIL = '" #$default-from-email "'
SERVER_EMAIL = DEFAULT_FROM_EMAIL
NOTIFICATION_FROM_EMAIL = DEFAULT_FROM_EMAIL
ADMINS = [
" #$(string-concatenate
(map (match-lambda