From: Jason Etheridge Date: Thu, 8 Sep 2011 05:44:38 +0000 (-0400) Subject: tweak description for "Patron: password from phone #" setting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7de40306a12f46c271441ce2ceac0708d4f56c4e;p=contrib%2FConifer.git tweak description for "Patron: password from phone #" setting Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index e63bb58351..56dafa51c9 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -2478,7 +2478,7 @@ INSERT into config.org_unit_setting_type ( 'patron.password.use_phone', oils_i18n_gettext('patron.password.use_phone', 'Patron: password from phone #', 'coust', 'label'), - oils_i18n_gettext('patron.password.use_phone', 'Use the last 4 digits of the patrons phone number as the default password when creating new users', 'coust', 'description'), + oils_i18n_gettext('patron.password.use_phone', 'By default, use the last 4 alphanumeric characters of the patrons phone number as the default password when creating new users. The exact characters used may be configured via the "GUI: Regex for day_phone field on patron registration" setting.', 'coust', 'description'), 'bool'), ( 'circ.charge_on_damaged', diff --git a/Open-ILS/src/sql/Pg/upgrade/0618.data.org-setting-phone_pw.sql b/Open-ILS/src/sql/Pg/upgrade/0618.data.org-setting-phone_pw.sql index 6351aa8446..d3f74d2104 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0618.data.org-setting-phone_pw.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0618.data.org-setting-phone_pw.sql @@ -6,4 +6,6 @@ UPDATE config.org_unit_setting_type SET description = E'The Regular Expression f UPDATE config.org_unit_setting_type SET description = 'The Regular Expression for validation on phone fields in patron registration. Applies to all phone fields without their own setting. NOTE: See description of the day_phone regex for important information about capture groups with it.' WHERE name = 'ui.patron.edit.phone.regex'; +UPDATE config.org_unit_setting_type SET description = oils_i18n_gettext('patron.password.use_phone', 'By default, use the last 4 alphanumeric characters of the patrons phone number as the default password when creating new users. The exact characters used may be configured via the "GUI: Regex for day_phone field on patron registration" setting.', 'coust', 'description') WHERE name = 'patron.password.use_phone'; + COMMIT;