if (!ttUserHelper::getUserByLogin($cl_login)) {
// User with a specified login was not found.
// In this case, if login looks like email, try finding user by email.
if (!ttUserHelper::getUserByLogin($cl_login)) {
// User with a specified login was not found.
// In this case, if login looks like email, try finding user by email.