https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090
--- Comment #38 from Owen Leonard <[email protected]> --- Created attachment 174230 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174230&action=edit Bug 25090: Redirect OPAC self reg verification email to the library This enhancement changes the PatronSelfRegistrationVerifyByEmail system preference to have the following options: * don't require (same as 0 previously) * patron verifies (same as 1 previously) * library verifies, based on the EmailPatronRegistrations syspref setting If the syspref is set to "based on the EmailPatronRegistrations" setting, this allows the library to redirect the verification email so that they can essentially moderate accounts that self-register via the OPAC. This enhancement also introduces a new notice OPAC_REG_VERIFY_LIB which includes the new account's details and the verification link. To test: 1. Apply patches, install database updates, and restart services (if using ktd, do `koha-upgrade-schema kohadev` then `restart_all`) 2. Go to the staff interface, Koha administration, system preferences. Go to the OPAC tab and find the self-registration and modification section. 3. By default, the PatronSelfRegistrationVerifyByEmail is set to "not required". Change this to "must verify themselves via email". 4. Change EmailPatronRegistrations to anything other than "none" (we're not specifically testing this functionality). 5. Confirm that PatronSelfRegistration is set to "Allow", as are other required preferences (these should be set by default in ktd). 6. Go to the OPAC in another window. You may be automatically logged in, if so, log out. 7. On the homepage, click the "Create an account" link under the login section. 8. Fill in the required fields and submit. 9. In your commandline, go to the database and view the results from the message_queue table (`koha-mysql kohadev` then `select * from message_queue\G`) 10. Confirm there is a queued message to the new account holder with a verification link. Open the verification link in your browser (you may need to swap out the OPACBaseURL if that isn't set correctly) 11. Confirm the account's registration. 12. Repeat step 9. Confirm there is a queued message to whoever you set EmailPatronRegistrations to, confirming a new account was created. 13. Go to your staff interface tab (you may need to log in again). 14. Go to the staff interface, Koha administration, system preferences. Go to the OPAC tab and find the self-registration and modification section. 15. Change PatronSelfRegistrationVerifyByEmail to "must be verified via email sent to EmailPatronRegistrations" 16. Repeat steps 6-9. 17. Confirm there is a queued message to the EmailPatronRegistrations setting with a verification link. Open the verification link in your browser (you may need to swap out the OPACBaseURL if that isn't set correctly) 18. Confirm the account's registration. 19. Confirm the wording on the screen better reflects that you've confirmed someone else's account and provides the login credentials to send them. Sponsored-by: Mental Health Education & Resource Centre Signed-off-by: Owen Leonard <[email protected]> -- 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/
