LoginSignup
2
2

More than 5 years have passed since last update.

Meteor でアカウントの新規登録のリンク(Create account)を隠す方法(accounts-ui/accounts-password)

Posted at

Meteor で標準で用意されているアカウントパッケージ(accounts-ui/accounts-password)を使用した際に、ログイン機能は提供したいけども、アカウントの新規作成はさせたくない場合がありますよね。

そんなときは以下の1行を追加することで、アカウントの新規作成機能を無効化することができます。

Accounts.config({ forbidClientAccountCreation : true });

記述前

記述後

簡単ですね :-)

参考

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2