diff options
author | simivar <simivar@gmail.com> | 2019-04-11 07:25:31 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-04-11 07:25:31 +0300 |
commit | 4566c443ce1866cd2d65fd076940c923f52b4696 (patch) | |
tree | 75dc0e7d787928a781b49bf55b3cc5c9268365c9 /config | |
parent | 0a14a503684833baf0e98a34a0e02f8545e45c5c (diff) |
Add a config to disable e-mail notifications on password/email change through API (#14281)
* Add a config to disable e-mail notifications on password/email change through API #14267
* Add tests for api_update_users_email_notifications setting
* rename setting
* Update API.php
* Update APITest.php
* move enable_update_users_email=1 to teardown in case the test fails
Diffstat (limited to 'config')
-rwxr-xr-x | config/global.ini.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index fbd01ea1d9..c39876629e 100755 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -453,6 +453,9 @@ noreply_email_name = "" ; set to 0 to disable sending of all emails. useful for testing. emails_enabled = 1 +; set to 0 to disable sending of emails when a password or email is changed +enable_update_users_email = 1 + ; feedback email address; ; when testing, use your own email address or "nobody" feedback_email_address = "feedback@matomo.org" |