'Hide Forget Password button on Amplify Authenticator
I've successfully disabled the signup form setting this piece of code
<amplify-authenticator [hideSignUp]="true">
<ng-template amplifySlot="authenticated" let-user="user" let-signOut="signOut">
<router-outlet></router-outlet>
</ng-template>
</amplify-authenticator>
But now I wish to hide the Forgot Password button... is there a simple way?
Solution 1:[1]
You can add an empty slot for the sign-in-footer to hide the forgot password button.
<amplify-authenticator [hideSignUp]="true">
<ng-template amplifySlot="sign-in-footer">
<div></div>
</ng-template>
<ng-template amplifySlot="authenticated" let-user="user" let-signOut="signOut">
<router-outlet></router-outlet>
</ng-template>
</amplify-authenticator>
Basically, you can customize the header and footer of each form. You can read more about it here.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nikhil Chauhan |
