When attempting to login to an unverified account, it causes the form for resending verification email was displayed, and currently the response status is 200 OK. This was probably unintentional, because Rodauth generally uses 4xx status codes to render error responses.
So, we change this response to use a 4xx status code as well. This improves compatibility with Turbo, which expects form submits to either redirect or return a non-2xx status code.
When attempting to login to an unverified account, it causes the form for resending verification email was displayed, and currently the response status is 200 OK. This was probably unintentional, because Rodauth generally uses 4xx status codes to render error responses.
So, we change this response to use a 4xx status code as well. This improves compatibility with Turbo, which expects form submits to either redirect or return a non-2xx status code.