Describe the bug
Cancelled login not handled gracefully, but rather as generic unknown error.
To Reproduce
Steps to reproduce the behavior:
Start the sign-in flow by clicking the "Continue with Hellō" button.
On the Hellō consent page click "Cancel" (bottom left).
You are redirected back to /wp-login.php
Notice the "ERROR (unknown-error): An unknown error occurred." error block and also the login-error=unknown-error&message=An+unknown+error+occurred. query parameters.
Screenshots
Expected behavior
The /wp-login.php page should display a meaningful error message, like "Login cancelled".
Describe the bug Cancelled login not handled gracefully, but rather as generic unknown error.
To Reproduce Steps to reproduce the behavior:
/wp-login.php
login-error=unknown-error&message=An+unknown+error+occurred.
query parameters.Screenshots
Expected behavior
The
/wp-login.php
page should display a meaningful error message, like "Login cancelled".