misc PR change requests
This commit is contained in:
Родитель
0e5153a8d6
Коммит
155cf4cf39
|
@ -92,3 +92,9 @@ GEOIP_GEOLITE2_COUNTRY_FILENAME=GeoLite2-Country-Test.mmdb
|
|||
# Educational video src urls, hosted by SRE team on a CDN
|
||||
EDUCATION_VIDEO_URL_RELAY=https://monitor.cdn.mozilla.net/videos/FF_Relay_version_02.mp4
|
||||
EDUCATION_VIDEO_URL_VPN=https://monitor.cdn.mozilla.net/videos/Mozilla_VPN.mp4
|
||||
|
||||
# Email addresses that are allowed to test and send emails
|
||||
ADMINS=
|
||||
|
||||
# Enable monthly cron-job, currently for sending unresolved breach reminder emails
|
||||
MONTHLY_CRON_ENABLED=
|
|
@ -175,7 +175,7 @@ async function requireAdminUser (req, res, next) {
|
|||
const admins = AppConstants.ADMINS?.split(',') || []
|
||||
const isAdmin = admins.includes(JSON.parse(fxaProfileData).email)
|
||||
|
||||
const hasFxaError = Object.prototype.hasOwnProperty.call(fxaProfileData, "name") && fxaProfileData.name
|
||||
const hasFxaError = Object.prototype.hasOwnProperty.call(fxaProfileData, 'name') && fxaProfileData.name
|
||||
if (hasFxaError) {
|
||||
delete req.session.user
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
rel="noopener"' }}}
|
||||
</p>
|
||||
<img src="{{ SERVER_URL }}/img/email_images/mozilla-logo-bw-rgb.png" width="130px"
|
||||
style="display: block; margin: 24px auto 0;">
|
||||
style="display: block; margin: 24px auto 0;" alt="Mozilla">
|
||||
<p>
|
||||
2 Harrison St. #175, San Francisco, California 94105 USA
|
||||
</p>
|
||||
|
|
Загрузка…
Ссылка в новой задаче