- Open the carbon.xml file in the following path:
Look for the commented out configuration
EnableEmailUserName. Uncomment the configuration to enable email authentication.
Code Block language html/xml
Tip: When you do this configuration, the email becomes the admin username and you cannot configure your email address as an attribute in your user profile.
The next configuration file we need to modify is the user-mgt.xml which can be found in the path: