我想在stormpath登录屏幕中禁用创建帐户。对API的调用应该已经从认证到应用程序的用户进行。我尝试将stormpathEnableRegistration设置为false,但注册功能仍处于启用状态。在登录屏幕中禁用stormpath的创建帐户选项
app.use(stormpath.init(app, {
apiKeyFile: config.stormpathapi.apiKeyFile,
application: config.stormpathapi.application,
secretKey: config.stormpathapi.secretKey,
sessionDuration: 1000 * 60 * 30,
enableAutoLogin: true,
enableUsername: true,
stormpathEnableRegistration: false
}));
谢谢!
这被张贴8个月前,其他问题6个月前@mikemaccana但由于 –
对不起意志!我把这个新问题标记为这个问题的重复。 – mikemaccana