| Lines 79-84
          
      
      
        Link Here | 
        
          | 79 |                                     <!-- This is what is displayed if shibboleth login has failed to match a koha user --> | 79 |                                     <!-- This is what is displayed if shibboleth login has failed to match a koha user --> | 
        
          | 80 |                                     <div class="alert alert-info"> | 80 |                                     <div class="alert alert-info"> | 
        
          | 81 |                                         <p>Sorry, your Shibboleth identity does not match a valid library identity.</p> | 81 |                                         <p>Sorry, your Shibboleth identity does not match a valid library identity.</p> | 
            
              |  |  | 82 |                                         [% UNLESS ( Koha.Preference('opacShibOnly') ) %] | 
        
          | 82 |                                         [% IF ( casAuthentication ) %] | 83 |                                         [% IF ( casAuthentication ) %] | 
        
          | 83 |                                             [% IF ( invalidCasLogin ) %] | 84 |                                             [% IF ( invalidCasLogin ) %] | 
        
          | 84 |                                                 <!-- This is what is displayed if cas login has failed --> | 85 |                                                 <!-- This is what is displayed if cas login has failed --> | 
  
    | Lines 89-99
          
      
      
        Link Here | 
        
          | 89 |                                         [% ELSE %] | 90 |                                         [% ELSE %] | 
        
          | 90 |                                             <p>If you have a local account, you may use that below.</p> | 91 |                                             <p>If you have a local account, you may use that below.</p> | 
        
          | 91 |                                         [% END %] | 92 |                                         [% END %] | 
            
              |  |  | 93 |                                         [% END %] | 
        
          | 92 |                                     </div> | 94 |                                     </div> | 
        
          | 93 |                                 [% ELSE %] | 95 |                                 [% ELSE %] | 
        
          | 94 |                                     <h3>Shibboleth Login</h3> | 96 |                                     <h3>Shibboleth Login</h3> | 
        
          | 95 |                                     <p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p> | 97 |                                     <p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p> | 
        
          | 96 |                                 [% END # /IF invalidShibLogin %] | 98 |                                 [% END # /IF invalidShibLogin %] | 
            
              |  |  | 99 |                                 [% UNLESS ( Koha.Preference('opacShibOnly') ) %] | 
        
          | 97 |                                 [% IF ( casAuthentication ) %] | 100 |                                 [% IF ( casAuthentication ) %] | 
        
          | 98 |                                     <h3>CAS login</h3> | 101 |                                     <h3>CAS login</h3> | 
        
          | 99 |                                     <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> | 102 |                                     <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> | 
  
    | Lines 101-108
          
      
      
        Link Here | 
        
          | 101 |                                     <h3>Local login</h3> | 104 |                                     <h3>Local login</h3> | 
        
          | 102 |                                     <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p> | 105 |                                     <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p> | 
        
          | 103 |                                 [% END %] | 106 |                                 [% END %] | 
            
              |  |  | 107 |                                 [% END %] | 
        
          | 104 |                             [% END # /IF shibbolethAuthentication %] | 108 |                             [% END # /IF shibbolethAuthentication %] | 
        
          | 105 |  | 109 |  | 
            
              |  |  | 110 |                         [% UNLESS ( Koha.Preference('opacShibOnly') ) %] | 
        
          | 106 |                         [% IF ( casAuthentication ) %] | 111 |                         [% IF ( casAuthentication ) %] | 
        
          | 107 |                             [% IF ( shibbolethAuthentication ) %] | 112 |                             [% IF ( shibbolethAuthentication ) %] | 
        
          | 108 |                                 [% IF ( casServerUrl ) %] | 113 |                                 [% IF ( casServerUrl ) %] | 
  
    | Lines 158-164
          
      
      
        Link Here | 
        
          | 158 |                             <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a> | 163 |                             <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a> | 
        
          | 159 |                             <p>If you do not have a Google account, but do have a local account, you can still log in: </p> | 164 |                             <p>If you do not have a Google account, but do have a local account, you can still log in: </p> | 
        
          | 160 |                         [% END # /IF GoogleOpenIDConnect %] | 165 |                         [% END # /IF GoogleOpenIDConnect %] | 
            
              |  |  | 166 |                         [% END # /UNLESS opacShibOnly %] | 
        
          | 161 |  | 167 |  | 
            
              |  |  | 168 |                         [% IF !Koha.Preference('opacShibOnly') or SCO_login or SCI_login %] | 
        
          | 162 |                         [% IF SCO_login %] | 169 |                         [% IF SCO_login %] | 
        
          | 163 |                             <form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> | 170 |                             <form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> | 
        
          | 164 |                         [% ELSIF SCI_login %] | 171 |                         [% ELSIF SCI_login %] | 
  
    | Lines 208-213
          
      
      
        Link Here | 
        
          | 208 |                                 [% END %] | 215 |                                 [% END %] | 
        
          | 209 |                             </div> | 216 |                             </div> | 
        
          | 210 |                         </form> | 217 |                         </form> | 
            
              |  |  | 218 |                         [% END # / IF !opacShibOnly or SCO_login or SCI_login %] | 
        
          | 211 |                     [% END # / IF loginprompt %] | 219 |                     [% END # / IF loginprompt %] | 
        
          | 212 |  | 220 |  | 
        
          | 213 |                     [% ELSE %] | 221 |                     [% ELSE %] | 
            
              | 214 | -  |  |  |