]> git.evergreen-ils.org Git - Evergreen.git/blob - docs/admin/patron_registration.adoc
Docs: documenting multiple emails in patron editor (LP1755625)
[Evergreen.git] / docs / admin / patron_registration.adoc
1 Patron registration administration
2 ----------------------------------
3
4 Email addresses
5 ~~~~~~~~~~~~~~~
6
7 indexterm:[patrons,email addresses]
8 indexterm:[email]
9
10
11 It's possible to set up the patron registration form to
12 either allow or disallow users to enter multiple email
13 addresses for a single patron, separated by a comma.
14
15 To do this, go to Administration -> Local Administration
16 -> Library Settings Editor.  Search for the setting called
17 `ui.patron.edit.au.email.regex`.
18
19 If you'd like to allow multiple email addresses, set this
20 value to `^(?:(?:\b[^@,\s]+@[^@,\s]+\.[^@.,\s]+\b)(?:,\s?(?!$)|$))*$`
21
22 If you'd like to disallow multiple email addresses, set
23 this value to `^(?:\b[^@,\s]+@[^@,\s]+\.[^@.,\s]+\b)$`
24