Documentation

SavePasswordHash

CUser::SavePasswordHash()

The method stores the special hash string in the user cookie for future automatic authorization. Different sites built on the Bitrix Site Manager always store unique hash value for the same password. This allows to avoid password hash collisions for different sites. Non-static method.

Parameters

No parameters.

See Also

Examples of use

<?
global $USER;
if ($USER->IsAuthorized()) $USER->SavePasswordHash();
?>


© «Bitrix24», 2001-2024