0

我试图在登录应用程序时强制输入密码字段。旧版应用程序正在使用<Authenticator>from aws-amplify-react。这是示例代码。

<Authenticator
  usernameAttributes={'email'}
  authState="signIn"
  hide={[SignUp, SignOut, Greetings]}
  onStateChange={handleMethod}
  theme={localTheme}
  errorMessage={errorMessage}
/>

我搜索并在互联网上找不到任何答案。该团队还没有准备好使用来自 AWS amplify 的最新库。任何帮助,将不胜感激。

4

0 回答 0