[Koha-bugs] [Bug 10951] Make the NoLoginInstructions a customizable field through preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 4 16:55:08 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10951

--- Comment #22 from Blou <philippe.blouin at inlibro.com> ---
Created attachment 21810
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21810&action=edit
Bug 10951 - Adding NoLoginInstructions to system preferences

On a failed login, the default message is harcorded into opac-auth.tt.

    It would be preferable to allow for a preference to override that message
(for example: ...Please bring an ID to t
    The changes modify
            -opac-auth.tt to allow for custom value
            -admin/preferences/opac.pref to add it to the preferences with a
description
            -C4/Auth.pm for the loading of the preference
            -sysprefs.sql
            -updatedatabase.pl

    TESTING
            1) in OPAC, logged out, try login in by entering no or wrong
credentials.  Acknowledge the "Don't have a p
            2) Apply the patch
            3) Regression Test: Redo step 1.  Same (default) message should
appear.
            4) Log in to intranet,
               - select NoLoginInstructions in system preferences.
               - Enter new (xml) message.  Possible:
               <h5>Welcome to Koha, please bring your passport to the front
office</h5>
               - and save
            5) refresh the OPAC, try login again with invalid credentials.  The
new message should appear.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list