Prevent update email address and password

Feature description

In most cases, when using the WPO365 plugin, the WordPress user will be unaware of his or her password. This was automatically set by the plugin during user registration. Since there is no reason for that user to know the password, as he or she logs in using the single sign-on capability that the plugin offers, there is also no need for that user to manually change the password.

There is also no need for that user to change his or her email address, especially because for an Office 365 account the email address is used as the user’s login name.

For this reason the plugin, by default, does not allow user’s to request a new password through the password-lost function and neither does it allow users to navigate to their profile and update their email address.

For further technical details please refer to the Configuration documentation here https://docs.wpo365.com/article/56-user-cannot-change-password and
https://docs.wpo365.com/article/55-user-cannot-change-email-address.