https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40283

Nina Martinez <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #183666|0                           |1
        is obsolete|                            |

--- Comment #12 from Nina Martinez <[email protected]> ---
Created attachment 183683
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183683&action=edit
Bug 40283: Change password page (opac-passwd)

Test plan:

1. Enable the system preference: OpacPasswordChange, RequireStrongPassword
2. Log in to a Patron account, choose "Change Password". A message should
appear "You password must contain ... and numbers.". Inspect the html code and
notice that there is a role="alert" in the message tag.
3. Enter an incorrect current password and a new password, then submit. A
message should appear "Your current password was ... to reset your password for
you". Inspect the html code, and notice that there is a role="alert" in the
message tag.
4. Enter your current password, change it to a new one, and confirm. A message
should appear "Your password has been changed.". Inspect the html code, and
notice that there is a role="status" in the message tag.
5. Go to the Staff interface. Don't allow the system preference:
OpacPasswordChange. Go back to the OPAC, refresh the page: opac-passwd.pl
A message should appear "You can't change your password". Inspect the html code
and notice that there is a role='alert' in the message tag.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to