1 INSERT INTO config.org_unit_setting_type (name, grp, label, description, datatype) VALUES
2 ( 'opac.username_regex', 'glob',
3 oils_i18n_gettext('opac.username_regex',
4 'Patron username format',
6 oils_i18n_gettext('opac.username_regex',
7 'Regular expression defining the patron username format, used for patron registration and self-service username changing only',
8 'coust', 'description'),
10 ,( 'opac.lock_usernames', 'glob',
11 oils_i18n_gettext('opac.lock_usernames',
14 oils_i18n_gettext('opac.lock_usernames',
15 'If enabled username changing via the OPAC will be disabled',
16 'coust', 'description'),
18 ,( 'opac.unlimit_usernames', 'glob',
19 oils_i18n_gettext('opac.unlimit_usernames',
20 'Allow multiple username changes',
22 oils_i18n_gettext('opac.unlimit_usernames',
23 'If enabled (and Lock Usernames is not set) patrons will be allowed to change their username when it does not look like a barcode. Otherwise username changing in the OPAC will only be allowed when the patron''s username looks like a barcode.',
24 'coust', 'description'),