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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Mar 2022 21:22:56 +0000 (11:22 -1000)
commit12d5107369827a9aa8589a69b9d655b6264877c1
tree2662f5964c42d8140bcd68d9970a25b3c4b8158a
parent59df6a114ec7e75198e115b14050d1b46228d598
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>
opac/opac-registration-verify.pl