Can not log into UMP with email address after changing portal-ext.properties file for company.security.auth.type

Document ID : KB000033956
Last Modified Date : 14/02/2018
Show Technical Document Details
1) created a user in IM with email format and super user rights
administrator@domain.com
2) made sure the hub format was still set to $username
3) Tested logging into IM with administrator@domain.com and useraccount@account.com. Both worked
4) deactivated wasp
5) changed the portal-ext.properties
from:
# company.security.auth.type=emailAddress
company.security.auth.type=screenName
To
company.security.auth.type=emailAddress
# company.security.auth.type=screenName
6) activated wasp
7) tested login with both accounts and they DID NOT WORK.
8) only login with screen name worked.
9) we were not even seeing the login attempt in the wasp.log when using email address in properties files.
10) we followed the below instructions from Liferay to set the login module configuration to email address and this fixed the issue.

http://liferaytutorial.blogspot.com/2014/06/how-to-change-authentication-type-for.html?_sm_au_=iVVnJVkfWVj8Rvf8