Bug 30214: Add ACCTDETAILS notice to verified self registration
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 2 Mar 2022 16:14:18 +0000 (16:14 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Mar 2022 13:34:30 +0000 (09:34 -0400)
commit5546da7b9daeb12b34b9f483ee6ad310c6b73cfe
tree04a243c4426dcb01c01aaeb65f3c00949df21cbb
parenta0e51d5cce9258c4cd1f09acb4d8a5de2696dfce
Bug 30214: Add ACCTDETAILS notice to verified self registration

This patch adds the ACCTDETAILS notice trigger to the opac self
registration process. Allowing new users, with varification enabled,
to receive the ACCTDETAILS notice immediately after their account is
varified.

Test plan
1) Enable AutoEmailOpacUser system preference
2) Ensure the ACCTDETAILS notice is configured
3) Ensure `PatronSelfRegistrationVerifyByEmail` is enabled
4) Register a new user via the opac self registration process using an
   email address you have access to
5) Verify the user by following the link in the verification email you
   should have received.
6) The new user should have been created and you should be able to see
   the account details notice in their associated notices
7) Confirm that the email address used above has received the notice.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-registration-verify.pl