No message for incorrect username or password

Bug #1094829 reported by Sneha Priscilla
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Postorius
Fix Committed
Undecided
mahendra

Bug Description

During login, if a user enters an incorrect username or password, it is not known which one of them(or both) is wrong .
Pressing the login button just displays the same page instead of displaying a message next to the appropriate field telling the user he/she has entered the wrong username/password.

Changed in postorius:
status: New → Confirmed
Revision history for this message
mahendra (mahendra007-s) wrote :

modified:
  src/postorius/templates/postorius/login.html
  src/postorius/views/user.py

This patch modifies the login template and user.py(to pass on invalid flag) so that an error message gets displayed on incorrect username or password during login.

mahendra (mahendra007-s)
Changed in postorius:
assignee: nobody → mahendra (mahendra007-s)
tags: added: mailman3-suite-blocker
Revision history for this message
Aurélien Bompard (abompard) wrote :

I confirm that this bug is still current.
I have an alternate way of solving it though, in my branch (lp:~abompard/postorius/bug-1094829) I've just made Postorius use Django's login view (with Postorius' template though, to keep the Persona button).

Changed in postorius:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.