Bug 30214: Add ACCTDETAILS notice to self registeration
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 2 Mar 2022 16:03:55 +0000 (16:03 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Mar 2022 21:22:56 +0000 (11:22 -1000)
commit59df6a114ec7e75198e115b14050d1b46228d598
treec1064dec95eee1538e25bccb15854ba6ee9f03a8
parent8e4408c054fdfcaa1e32b24ff6b002f825e80b1d
Bug 30214: Add ACCTDETAILS notice to self registeration

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

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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-memberentry.pl