1
0
mirror of https://github.com/Mibew/mibew.git synced 2025-03-02 09:58:32 +03:00

Mark function "force_password" as deprecated

This commit is contained in:
Dmitriy Simushev 2014-05-13 13:33:56 +00:00
parent b10408b631
commit 75349a34b5

View File

@ -580,7 +580,12 @@ function check_login($redirect = true)
return $_SESSION[SESSION_PREFIX . "operator"];
}
// Force the admin to set a password after the installation
/**
* Force the admin to set a password after the installation
*
* @param array $operator Operator's array
* @deprecated
*/
function force_password($operator)
{
if (check_password_hash($operator['vclogin'], $operator['vcpassword'], '')) {