AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

Incorrect feedback message 'Password doesn't match' appears after entering only the first password field

Open SoapOperaTester opened this issue 1 year ago • 1 comments

Describe the bug Incorrect feedback message 'Password doesn't match' appears after entering only the first password field.

To Reproduce Steps to reproduce the behavior:

  1. Click the 3 Vertical Dots icon next to a file
  2. Select 'Encrypt'
  3. Enter a password in the first password field (e.g., '123')

Expected behavior The feedback message 'Password doesn't match' should appear when the two password fields have different inputs or after text has been entered in the second password field.

Screen Recording

https://github.com/user-attachments/assets/6f60ff14-2d0a-46e1-900a-5596cebfcb2b

Smartphone (please complete the following information):

  • Device: [Google Pixel 5]
  • OS: [Android 14]
  • Rooted: [No]
  • Version: [v3.10]

SoapOperaTester avatar Dec 19 '24 15:12 SoapOperaTester

Hi. The cause of the error is that the password validaion logic runs for both password fields at the same time. When entering the first password, the second password field is empty, which causes the 'passwords do not match' error. I fixed the simple bug that created this issue and submitted a PR request.

enescakar2148 avatar Dec 27 '24 12:12 enescakar2148