Is there an easy way to show a simple modal confirmation window (typical yes/no modal window) from within the authenticate() method in UserIdentity.php?
My problem is that when a user is in the login process of my app, I’d need to include some logic, and depending on a simple question, the login process has to invoke some different actions and render some forms accordingly.
thank you very much in advance,
I’ve been browsing forums and docs for many hours trying to find out a solution without any success
This is kind of hardest part, as jQuery displaying dialogs is client-side language run, when whole page code is done transmitting to browser, while PHP code is run on server before actual sending begins.