method userGet documentation in bbn\Appui\Passwords

Returns a password for the given user's option.

function(string $id_pref, bbn\User $user) { if ($user->isAuth()) { $arch =& $this->class_cfg['arch']['passwords']; if ($password = $this->db->selectOne( $this->class_cfg['table'], $arch['password'], [$arch['id_user_option'] => $id_pref] ) ) { return $user->decrypt(base64_decode($password)); } } return null; }

Returns a password for the given user's option. 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.