method forcePassword documentation in bbn\User
Changes the password in the database.
function($pass)
{
if ($this->id) {
return (bool)$this->db->insert(
$this->class_cfg['tables']['passwords'], [
$this->class_cfg['arch']['passwords']['pass'] => $this->_hash($pass),
$this->class_cfg['arch']['passwords']['id_user'] => $this->id,
$this->class_cfg['arch']['passwords']['added'] => date('Y-m-d H:i:s')
]
);
}
return false;
}
Changes the password in the database. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions