Disable login before email verification

Thanks @rueben.tiow
I am using Customize Login Page, and I noticed that when the login button is clicked, there is a request similar to /usernamepassword/login, usually a 200 response.
After I add the Post-Login Action refers to User can sign in before email confirmation, after the page has been redirected, auth0 passes a failure message to the API, which will cause the user to see the page jump after login and then see the failed login result, which is problematic in terms of user experience.
I expect the user to see the error message immediately after clicking the login button, i.e., no login until the email is verified.
I hope I have described it clearly.