https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

07/06/2021, 7:27 AM
It is possible to disable the signUp component: You want to do the below on the frontend
Copy code
EmailPassword.init({
  signInAndUpFeature: {
    signInForm: {
      style: {
        headerSubtitle: {
          display: "none", // this will hide the sign up button in the sign in form
        }
      }
    }
  },
  override: {
    components: {
      EmailPasswordSignUp: (_) => (_) => {
        return null; 
      }
    }
  }
})
You want to the below on the backend:
Copy code
EmailPassword.init({
  override: {
    apis: (originalImpl) => {
      return {
        ...originalImpl,
        signUpPOST: undefined
      }
    }
  }
})