Show form wide responses only when message exists
The $error key for the form will have an Array of the errors of its fields for that key. That means that a bad password response causes the entire login form to have a truthy $error.response value. That's not wrong, and we could be using it to show all the errors in a block at the top of the form, but it's not how we want to use it for this case.
Showing
Please register or sign in to comment