I am facing an issue with the Popup used for device verification during login. When I click on the login button with valid credentials, a popup opens if the device is not trusted. Once I provide the necessary information and successfully validate, it should redirect to the home page.
The problem arises when I click on login, enter the required credentials, and a popup appears due to an untrusted device. If I refresh the page in the middle of this process, it redirects me to the home page.
Can anyone help me find a solution to this issue?
TS:
login(value: any) {
// code block for login functionality
}
Routing.ts:
// routing configuration
POPUP HTML:
<!-- Popup HTML content -->
TS:
// Function to handle saving device info
Here, the popup function occurs after a successful login. Any assistance would be appreciated.