0
我下载了一个名为MeteorAdmin的流星启动项目。此项目使用meteor-useraccounts
包'hideSignUpLink'选项不隐藏注册链接
我想阻止"Don't have an account? Register"
句子出现在默认的登录视图。
所以在accounts.coffee
我改变了这个:
AccountsTemplates.configureRoute 'signIn'
AccountsTemplates.configureRoute 'signUp'
到:
AccountsTemplates.configureRoute 'signIn' ,
hideSignUpLink: true
AccountsTemplates.configureRoute 'signUp'
这没有工作!虽然meteor-useraccounts
documentation说,它应该工作,因此这个问题