Closed Powan55 closed 4 months ago
Upon investigation, it has been discovered that the system does not print "unsuccessful login attempt" messages when incorrect credentials are entered. This suggests that the issue lies specifically with the display of "failed login attempts" messages when the correct credentials are entered.
Issue Title: Inconsistent Login Message Display
Description: Currently, there is an inconsistency in the login process where the system prints a failed login attempts message three times before displaying a successfully logged-in message and granting access to the play menu. This behavior occurs even when the user enters their login credentials correctly.
Expected Behavior: Upon entering the correct login credentials, the system should directly display a successfully logged-in message and grant access to the play menu without printing any failed login attempts message.
Steps to Reproduce:
Actual Behavior:
Impact: This inconsistency in the login message display not only confuses users but also creates unnecessary clutter in the interface. It diminishes the user experience and may lead to confusion.
Proposed Solution: Review and debug the login process to ensure that only the relevant message ("You have been logged in successfully.") is displayed upon entering the correct login credentials. Investigate the source of the redundant "ERROR: Incorrect username or password 3 attempt remaining!!" messages and eliminate them from the login flow.
Priority: High
Additional Information: Consider testing various scenarios, including incorrect login attempts, to ensure that the login process behaves consistently and intuitively for users.