UnevenSoftware/LeafPic

"Access by password" stays toggled on "Password doesn't match"

Closed this issue · 0 comments

lkd70 commented

Description

When changing or adding a password under Settings -> Security -> Access by password if the "passwords doesn't match" error is given, the Access by password toggle remains active.

Steps to reproduce

  1. Access the settings menu in Leafpic And select the 'Security' category.
  2. Activate the "Access by password option (must be previously in an off state)
  3. Enter one of the codes, leave the other blank to trigger the error.
  4. Click 'OK' to confirm - the toggle will still be active despite the error.

Expected result

On an error, I would expect the toggle to be disabled as it was unable to activate the Access by password feature.

Actual result

The toggle is turned on despite the feature itself not being active. This is not persistent and will change when the UI is reloaded.

Additional information

Though this bug occurs on the "Password doesn't match" error, it is not exclusive to this error. It also occurs on other errors such as "The minimum password length is 4 character"