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:
parent
b10408b631
commit
75349a34b5
@ -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'], '')) {
|
||||
|
Loading…
Reference in New Issue
Block a user