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.
我使用了 FOS USER BUNDLE 和 Fr3d LDAP 包。当我尝试登录时,我收到了错误
无法识别的字段:usernameCanonical
我需要你的帮助
似乎您的用户类不是从 FOS 用户的基类扩展而来的。
use FOS\UserBundle\Entity\User as BaseUser; use FR3D\LdapBundle\Model\LdapUserInterface; class User extends BaseUser implements LdapUserInterface