Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Symfony 中检查任何用户的密码?(不仅是登录用户)(我使用 sfGuardPlugin) 我试过这样,但不起作用:
$user = Doctrine::getTable('sfGuardUser')->find(26); $is_password_valid = $user->checkPassword('password');