Merge pull request #2981 from nextcloud/enh/noid/disable-admin-changed-email-appconfig

Add app config option to disable "Email was changed by admin" email
This commit is contained in:
Morris Jobke 2020-08-12 16:46:13 +02:00 committed by GitHub
commit 17d792c668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2091,3 +2091,18 @@ which are older then the number of days that is set for ``activity_expire_days``
'activity_use_cached_mountpoints' => false,
Before enabling this, read the warning in :ref:`label-activities-groupfolders`
Settings app
^^^^^^^^^^^^
If an email address of a user is changed by an admin, then it triggers an email
to the user that states "Your email address on URL was changed by an
administrator.". In some cases this should not be triggered, because it was a
normal maintenance change. To disable this specific email the appconfig option
``disable_email.email_address_changed_by_admin`` can be set to ``yes``::
occ config:app:set settings disable_email.email_address_changed_by_admin --value yes
To disable this behaviour change it to any other value or delete the app config::
occ config:app:delete settings disable_email.email_address_changed_by_admin