Hello,
For security reasons or simply to display, for example, a proposal for a forgotten password, it can happen that we want to detect whether a login has been successful or not.
To detect whether a password is incorrect or otherwise, there’s a fairly simple way.
You need to add an “An unhandled error occurs” workflow that will perform an action if “Current Workflow’s Error’s code is INVALID_LOGIN_CREDENTIALS”.
This is the error code that displays the default message on Bubble. Then you take the action you like, for example, to secure an account, you count the number of unsuccessful login attempts, and after the 3rd one, for example, you send a magic link to your user.