statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Error not showing in login template #2388

Closed vitor-ao closed 5 years ago

vitor-ao commented 5 years ago

Describe the bug No error message is shown on the login template when using the wrong credentials.

To Reproduce Steps to reproduce the behavior:

  1. Create a form (can be copied from https://docs.statamic.com/tags/user-login_form)
  2. Login with an existing user but write the wrong passsword
  3. The error does not show up when returning to the form

Expected behavior The login form should show a "incorrect credentials" error (as is on v2.11.10) chrome_NP93R2tW2n

Screenshots firefox_VSCEv5TFeI

Environment details (please complete the following information):

Additional context This bug does not exist on version 2.11.10

mar627 commented 5 years ago

Hi @vitor-ao do you receive the same error message as I do field field when trying to login without entering a password? https://github.com/statamic/v2-hub/issues/2383#issuecomment-488733222

vitor-ao commented 5 years ago

My website uses jQuery Validate so I can't login without a password, but i've disabled it to test and i get the error that the password field is required. Seems to be the same bug report you've added @mar627

mar627 commented 5 years ago

Well that's good then! The devs can fill two needs with one deed. I'll mark this as a duplicate/reference for mine seeing as yours hasn't been closed. Cheers