[Koha-bugs] [Bug 25405] Make separation of Shibboleth and Local login clearer in modal login on OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 5 00:47:52 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25405

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114754|0                           |1
        is obsolete|                            |

--- Comment #14 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 116346
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116346&action=edit
Bug 25405: clearly define local login and shib login sections

This patch attempts to clearly seperate local login from shibboleth login in
the OPAC loginModal.
It includes seperate id's for local and shibboleth to make it easier to
customize this login

To test:
1. Enable shibboleth in your koha-conf.xml by changng the value of
<useshibboleth> to 1.
2. I also add the following to my koha-conf:
   <shibboleth>
    <matchpoint>email</matchpoint>
        <mapping>
            <email        is="SHIB_ATTR_email"></email>
        </mapping>
    </shibboleth>
3. Look at the loginModal in the OPAC by clicking 'Log in to your account' in
the top right corner.
4. Apply patch, restart all, and regenerate CSS.
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client)
5. Look at the loginModal again the shibboleth section should be underneath the
local login stuff.
6. Inscept the loginModal and make sure there is a <div> for both local_login
and external_login
7. Make sure it all works.
8. Turn Shibboleth back off and restart all.
9. Make sure everything still works and looks good without Shibboleth off.
10. Check HTML elements #external_login, #external_login_button,
#external_login_name, and #external_login_icon. There were added to allow for
further customization with css/js

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


More information about the Koha-bugs mailing list