LoginSignup
0
0

More than 3 years have passed since last update.

amplify-authenticator のサインアップを無効化する方法メモ

Last updated at Posted at 2021-01-25

はじめに

ユーザーの登録は管理者側で行いたいので、amplify-authenticator(@aws-amplify/ui-vue) のサインアップリンクを無効化しようとしてハマったのでメモを残す。

isSignUpDisplayed: false を食わせれば良いという記事はたくさんあるが、
肝心の食わせ方がまちまちでなかなか適用することができなかった。

結論

<template>
  <amplify-authenticator>
    <amplify-sign-in slot="sign-in" hide-sign-up="true"></amplify-sign-in>
    <amplify-sign-out></amplify-sign-out>
  </amplify-authenticator>
</template>

amplify-sign-inslot="sign-in" hide-sign-up="true" を渡すことで無効化できた。

参考リンク

0
0
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
0
0