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.
我正在尝试在使用流星样板创建的项目中创建帐户。我正在尝试从客户端创建它。当我点击创建帐户时,错误出现“禁止注册”。我仍然可以使用数据库中存在的凭据登录。我正在使用帐户-密码,帐户-UI,有人能告诉我解决方案吗...
当同时存在冲突的帐户包时,这发生在我身上。我通过这样做解决了它
meteor remove useraccounts:bootstrap
在您的情况下,它可能是 accounts-ui 或其他需要删除的东西。
您的项目已禁用客户端的注册。
在你的代码中的某个地方寻找这个
Accounts.config({ forbidClientAccountCreation : true });
并设置forbidClientAccountCreation为false。
forbidClientAccountCreation
false