So I have a login page with a submit button that loads a new page as soon as the username and password are correct. This works fine, but at the next page I want a wizard popping up.
I am using Angular + VMWare Clarity.
The problem is, if I put :
<button [disabled]="loading" class="btn btn-primary" (click)="wizard.open()">
Login
</button>
this redirects to the wizard without doing the authentication first. So it doesn't matter then if the username and password are incorrect.
Do you know of any other way to pop up the wizard after the form submitted correctly? Or if I can somehow make the wizard pop up after the form submit without needing a button function for it?