2016-02-06 30 views
1

我在流星創建一個應用程序,我爲了讓我的用戶登錄添加一些軟件包。如何讓谷歌認證唯一可用的選項流星

$ meteor add accounts-password accounts-ui accounts-google 

然後我把{{> loginButtons}},然後配置Google API,以便一切正常。

但現在用戶可以同時執行以下操作:通過Google登錄並在我的應用內創建一個新帳戶。如何關閉第二個功能?換句話說,我想通過谷歌進行身份驗證唯一可用的登錄方式。

回答

2

您是否嘗試刪除帳戶密碼?

meteor remove accounts-password 
+0

好的,這對我很有用。謝謝。 –