The method LoginByHash verifies the login and a password hash string that CUser::GetPasswordHash and performs or declines the user authorization depending on the verification result. Returns true on
successful authorization. In case the authorization failed, the method returns the error description array that can be passed to ShowMessage.
Parameters
Parameter
Description
login
User login.
cookie_hash
Special password hash string obtained by a call to CUser::GetPasswordHash. This hash string is stored in the user cookie.