Add an attribut isSignUpDisplayed to the config objects for the components amplify-sign-in #1993
Labels
Auth
Related to Auth components/category
feature-request
Request a new feature
Vue
Related to Vue Framework issues
Milestone
Pullrequest #1994
Is your feature request related to a problem? Please describe.
I don't want to allow end-user to signup. So, I have disable signup feature from cognito but signup link is still available in the UI component SignIn.vue.
Describe the solution you'd like
I would like to be able to disable the signup feature on the component
aws-amplify-vue/src/components/authenticator/SignIn.vue thank to a boolean 'isSignUpDisplayed'
as:
<amplify-sign-in :signInConfig="signInConfig" />
To achieve this target we just need to add a
v-if="options.isSignUpDisplayed"
on wrapping span tag in SignIn.vueThe text was updated successfully, but these errors were encountered: