Steps to reproduce:
1) Connect the portal to LDAP
2) Create a user in LDAP (with company email address)
3) Within the portal check "Require strangers to verify their email address?" (In this specific behavior it does not make any difference if " Allow strangers to create accounts with a company email address?" is also checked)
4) Try to log in with the user created in LDAP
Actual result: the user is required to verify her Email Address
Verify Email Address
Please enter your verification code.
Expected result: the user should be able to log in without the need to enter a verification code.
*Reproduced on : *
master Commit: 157740d8f00808b9b6f89a78cca16b6d002eba4a
7.0X commit 8a6023b274113a3d90b089adda7434f568bbcc07