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

Owen Leonard <oleon...@myacpl.org> changed:

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

--- Comment #4 from Owen Leonard <oleon...@myacpl.org> ---
Created attachment 75226
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75226&action=edit
Bug 19579: Do not confirm the registration if email already used -
PatronSelfRegistrationEmailMustBeUnique

If PatronSelfRegistrationVerifyByEmail and
PatronSelfRegistrationEmailMustBeUnique are set, it should not be
possible to register twice with the same email.
However the test is made on already created patron cards when the
registration is done.
Which means it is possible to register several times with the same
email address and click on the registration link to finalise the
registration.

This patch adds a test when the registration link is clicked and display
the "Registration invalid" generic message if the same email is used

Test plan:
1. Patron submits self registration form using the same email address 3
   times
2. Patron receives 3 verification emails
3. Patron clicks on 3 verify token URLs
   => Only the first registration should succeed, the 2 others must fail

Maybe we should display a more specific message?

Signed-off-by: Owen Leonard <oleon...@myacpl.org>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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