我想在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