Bugzilla – Attachment 116282 Details for
Bug 18506
SSO - Shibboleth Only Mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18506: (QA follow-up) Indentation and more conditionals add
Bug-18506-QA-follow-up-Indentation-and-more-condit.patch (text/plain), 30.97 KB, created by
Nick Clemens (kidclamp)
on 2021-02-03 15:52:44 UTC
(
hide
)
Description:
Bug 18506: (QA follow-up) Indentation and more conditionals add
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-02-03 15:52:44 UTC
Size:
30.97 KB
patch
obsolete
>From ccb36e956bc5ff761adf1f04756f62ad5b1458be Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 3 Feb 2021 15:48:29 +0000 >Subject: [PATCH] Bug 18506: (QA follow-up) Indentation and more conditionals > add > >Indentation fixes for readability > >Cleaned up a few places where the ability to login otherwise was leakign through > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 120 ++++++------ > .../opac-tmpl/bootstrap/en/includes/masthead.inc | 54 ++--- > .../opac-tmpl/bootstrap/en/modules/opac-auth.tt | 218 ++++++++++----------- > .../opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- > 4 files changed, 201 insertions(+), 193 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >index 8d4cf0c240..b4a5448413 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >@@ -61,78 +61,80 @@ > <p>If you have a shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here</a> to login.</p> > [% END %] > >-<!-- login prompt time--> >-<form action="[% script_name | html %]" method="post" name="loginform" id="loginform"> >- <input type="hidden" name="koha_login_context" value="intranet" /> >-[% FOREACH INPUT IN INPUTS %] >- <input type="hidden" name="[% INPUT.name | html %]" value="[% INPUT.value | html %]" /> >-[% END %] >-<p><label for="userid">Username:</label> >-<input type="text" name="userid" id="userid" class="input focus" value="[% userid | html %]" size="20" tabindex="1" /> >-</p> >-<p><label for="password">Password:</label> >-<input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" /> >-</p> >- >-[% UNLESS IndependentBranches %] >- <p> >- <label for="branch">Library:</label> >- <select name="branch" id="branch" class="input" tabindex="3"> >- <option value="">My library</option> >- [% FOREACH l IN Branches.all( unfiltered => 1 ) %] >- <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option> >- [% END %] >- </select> >+[% UNLESS Koha.Preference('staffShibOnly') %] >+ <!-- login prompt time--> >+ <form action="[% script_name | html %]" method="post" name="loginform" id="loginform"> >+ <input type="hidden" name="koha_login_context" value="intranet" /> >+ [% FOREACH INPUT IN INPUTS %] >+ <input type="hidden" name="[% INPUT.name | html %]" value="[% INPUT.value | html %]" /> >+ [% END %] >+ <p><label for="userid">Username:</label> >+ <input type="text" name="userid" id="userid" class="input focus" value="[% userid | html %]" size="20" tabindex="1" /> >+ </p> >+ <p><label for="password">Password:</label> >+ <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" /> > </p> > >- [% IF Koha.Preference('UseCirculationDesks') && Desks.all %] >+ [% UNLESS IndependentBranches %] > <p> >- <label for="desk">Desk:</label> >- <select name="desk_id" id="desk_id" class="input" tabindex="3"> >- <option id="nodesk" value="">---</option> >- [% FOREACH d IN Desks.all %] >- <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled >[% d.desk_name | html %]</option> >- [% END %] >+ <label for="branch">Library:</label> >+ <select name="branch" id="branch" class="input" tabindex="3"> >+ <option value="">My library</option> >+ [% FOREACH l IN Branches.all( unfiltered => 1 ) %] >+ <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option> >+ [% END %] > </select> > </p> >- [% END %] > >- [% IF Koha.Preference('UseCashRegisters') && Registers.all().size %] >- <p> >- <label for="register_id">Cash register:</label> >- <select name="register_id" id="register_id" class="input" tabindex="4"> >- <option id="noregister" value="" selected="selected">Library default</option> >- [% PROCESS options_for_registers registers => Registers.all() %] >- </select> >- </p> >- [% END %] >+ [% IF Koha.Preference('UseCirculationDesks') && Desks.all %] >+ <p> >+ <label for="desk">Desk:</label> >+ <select name="desk_id" id="desk_id" class="input" tabindex="3"> >+ <option id="nodesk" value="">---</option> >+ [% FOREACH d IN Desks.all %] >+ <option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled >[% d.desk_name | html %]</option> >+ [% END %] >+ </select> >+ </p> >+ [% END %] >+ >+ [% IF Koha.Preference('UseCashRegisters') && Registers.all().size %] >+ <p> >+ <label for="register_id">Cash register:</label> >+ <select name="register_id" id="register_id" class="input" tabindex="4"> >+ <option id="noregister" value="" selected="selected">Library default</option> >+ [% PROCESS options_for_registers registers => Registers.all() %] >+ </select> >+ </p> >+ [% END %] > >-</fieldset> >-[% END %] >+ </fieldset> >+ [% END %] > >-<!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> --> >+ <!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> --> > >-<p class="submit"><input id="submit-button" type="submit" value="Login" tabindex="4" /></p> >-</form> >-[% IF ( casAuthentication ) %] >-<h4>Cas login</h4> >+ <p class="submit"><input id="submit-button" type="submit" value="Login" tabindex="4" /></p> >+ </form> >+ [% IF ( casAuthentication ) %] >+ <h4>Cas login</h4> > >-[% IF ( invalidCasLogin ) %] >-<!-- This is what is displayed if cas login has failed --> >-<p>Sorry, the CAS login failed.</p> >-[% END %] >+ [% IF ( invalidCasLogin ) %] >+ <!-- This is what is displayed if cas login has failed --> >+ <p>Sorry, the CAS login failed.</p> >+ [% END %] > >-[% IF ( casServerUrl ) %] >- <p><a href="[% casServerUrl | $raw %]">If you have a CAS account, please click here to login</a>.<p> >-[% END %] >+ [% IF ( casServerUrl ) %] >+ <p><a href="[% casServerUrl | $raw %]">If you have a CAS account, please click here to login</a>.<p> >+ [% END %] > >-[% IF ( casServersLoop ) %] >- <p>If you have a CAS account, please choose against which one you would like to authenticate:</p> >-<ul> >- [% FOREACH casServer IN casServersLoop %] >- <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> >+ [% IF ( casServersLoop ) %] >+ <p>If you have a CAS account, please choose against which one you would like to authenticate:</p> >+ <ul> >+ [% FOREACH casServer IN casServersLoop %] >+ <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> >+ [% END %] >+ [% END %] > [% END %] >-[% END %] > [% END %] > > [% IF ( nopermission ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 9436d99e49..34b9eaca24 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -379,33 +379,39 @@ > [% ELSE %] > <h3>Shibboleth login</h3> > <p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here to login</a>.</p> >- <h3>Local Login</h3> >+ [% UNLESS Koha.Preference('opacShibOnly') %] >+ <h3>Local Login</h3> >+ [% END %] > [% END %] > [% END %] >- <input type="hidden" name="koha_login_context" value="opac" /> >- <fieldset class="brief"> >- <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> >- <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> >- [% IF Koha.Preference( 'OpacLoginInstructions' ) %] >- <div id="nologininstructions-modal" class="nologininstructions"> >- [% Koha.Preference( 'OpacLoginInstructions' ) | $raw %] >- </div> >- [% END %] >- [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] >- <div id="forgotpassword-modal" class="forgotpassword"> >- <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> >- </div> >- [% END %] >- [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] >- <div id="patronregistration-modal" class="patronregistration"> >- <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p> >- </div> >- [% END %] >- </fieldset> >- </div> >- <div class="modal-footer"> >- <input type="submit" class="btn btn-primary" value="Log in" /> >+ [% UNLESS Koha.Preference('opacShibOnly') %] >+ <input type="hidden" name="koha_login_context" value="opac" /> >+ <fieldset class="brief"> >+ <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> >+ <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> >+ [% IF Koha.Preference( 'OpacLoginInstructions' ) %] >+ <div id="nologininstructions-modal" class="nologininstructions"> >+ [% Koha.Preference( 'OpacLoginInstructions' ) | $raw %] >+ </div> >+ [% END %] >+ [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] >+ <div id="forgotpassword-modal" class="forgotpassword"> >+ <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> >+ </div> >+ [% END %] >+ [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] >+ <div id="patronregistration-modal" class="patronregistration"> >+ <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p> >+ </div> >+ [% END %] >+ </fieldset> >+ [% END %] > </div> >+ [% UNLESS Koha.Preference('opacShibOnly') %] >+ <div class="modal-footer"> >+ <input type="submit" class="btn btn-primary" value="Log in" /> >+ </div> >+ [% END %] > </form> <!-- /#auth --> > </div> <!-- /.modal-content --> > </div> <!-- /.modal-dialog --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index a773d58e25..14432ecb85 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -80,16 +80,16 @@ > <div class="alert alert-info"> > <p>Sorry, your Shibboleth identity does not match a valid library identity.</p> > [% UNLESS ( Koha.Preference('OPACShibOnly') ) %] >- [% IF ( casAuthentication ) %] >- [% IF ( invalidCasLogin ) %] >- <!-- This is what is displayed if cas login has failed --> >- <p>Sorry, the CAS login also failed. If you have a local login you may use that below.</p> >+ [% IF ( casAuthentication ) %] >+ [% IF ( invalidCasLogin ) %] >+ <!-- This is what is displayed if cas login has failed --> >+ <p>Sorry, the CAS login also failed. If you have a local login you may use that below.</p> >+ [% ELSE %] >+ <p>If you have a CAS account, you may use that below.</p> >+ [% END %] > [% ELSE %] >- <p>If you have a CAS account, you may use that below.</p> >+ <p>If you have a local account, you may use that below.</p> > [% END %] >- [% ELSE %] >- <p>If you have a local account, you may use that below.</p> >- [% END %] > [% END %] > </div> > [% ELSE %] >@@ -97,124 +97,124 @@ > <p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p> > [% END # /IF invalidShibLogin %] > [% UNLESS ( Koha.Preference('OPACShibOnly') ) %] >- [% IF ( casAuthentication ) %] >- <h3>CAS login</h3> >- <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> >- [% ELSE %] >- <h3>Local login</h3> >- <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p> >- [% END %] >+ [% IF ( casAuthentication ) %] >+ <h3>CAS login</h3> >+ <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> >+ [% ELSE %] >+ <h3>Local login</h3> >+ <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p> >+ [% END %] > [% END %] > [% END # /IF shibbolethAuthentication %] > > [% UNLESS ( Koha.Preference('OPACShibOnly') ) %] >- [% IF ( casAuthentication ) %] >- [% IF ( shibbolethAuthentication ) %] >- [% IF ( casServerUrl ) %] >- <p><a href="[% casServerUrl | $raw %]">Please click here to log in.</a><p> >- [% END %] >+ [% IF ( casAuthentication ) %] >+ [% IF ( shibbolethAuthentication ) %] >+ [% IF ( casServerUrl ) %] >+ <p><a href="[% casServerUrl | $raw %]">Please click here to log in.</a><p> >+ [% END %] >+ >+ [% IF ( casServersLoop ) %] >+ <p>Please choose against which one you would like to authenticate: </p> >+ <ul> >+ [% FOREACH casServer IN casServersLoop %] >+ <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> >+ [% END %] >+ </ul> >+ [% END %] >+ [% ELSE %] >+ <h3>CAS login</h3> > >- [% IF ( casServersLoop ) %] >- <p>Please choose against which one you would like to authenticate: </p> >- <ul> >- [% FOREACH casServer IN casServersLoop %] >- <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> >- [% END %] >- </ul> >- [% END %] >- [% ELSE %] >- <h3>CAS login</h3> >+ [% IF ( invalidCasLogin ) %] >+ <!-- This is what is displayed if cas login has failed --> >+ <p>Sorry, the CAS login failed.</p> >+ [% END %] > >- [% IF ( invalidCasLogin ) %] >- <!-- This is what is displayed if cas login has failed --> >- <p>Sorry, the CAS login failed.</p> >- [% END %] >+ [% IF ( casServerUrl ) %] >+ <p><a href="[% casServerUrl | $raw %]">If you have a CAS account, please click here to log in.</a><p> >+ [% END %] > >- [% IF ( casServerUrl ) %] >- <p><a href="[% casServerUrl | $raw %]">If you have a CAS account, please click here to log in.</a><p> >- [% END %] >+ [% IF ( casServersLoop ) %] >+ <p>If you have a CAS account, please choose against which one you would like to authenticate:</p> >+ <ul> >+ [% FOREACH casServer IN casServersLoop %] >+ <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> >+ [% END %] >+ </ul> >+ [% END %] >+ [% END # /IF shibbolethAuthentication %] > >- [% IF ( casServersLoop ) %] >- <p>If you have a CAS account, please choose against which one you would like to authenticate:</p> >- <ul> >- [% FOREACH casServer IN casServersLoop %] >- <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> >- [% END %] >- </ul> >+ [% IF ( shibbolethAuthentication ) %] >+ <p>Nothing</p> >+ [% ELSE %] >+ <h3>Local login</h3> >+ <p>If you do not have a CAS account, but do have a local account, you can still log in: </p> > [% END %] >- [% END # /IF shibbolethAuthentication %] > >- [% IF ( shibbolethAuthentication ) %] >- <p>Nothing</p> >- [% ELSE %] >- <h3>Local login</h3> >- <p>If you do not have a CAS account, but do have a local account, you can still log in: </p> >- [% END %] >+ [% END # / IF casAuthentication %] > >- [% END # / IF casAuthentication %] >- >- [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] >- [% IF ( invalidGoogleOpenIDConnectLogin ) %] >- <h3>Google login</h3> >- <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin | html %]</span></p> >- <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p> >- <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a> >- [% END %] >- <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a> >- <p>If you do not have a Google account, but do have a local account, you can still log in: </p> >- [% END # /IF GoogleOpenIDConnect %] >+ [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] >+ [% IF ( invalidGoogleOpenIDConnectLogin ) %] >+ <h3>Google login</h3> >+ <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin | html %]</span></p> >+ <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p> >+ <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a> >+ [% END %] >+ <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a> >+ <p>If you do not have a Google account, but do have a local account, you can still log in: </p> >+ [% END # /IF GoogleOpenIDConnect %] > [% END # /UNLESS OPACShibOnly %] > > [% IF !Koha.Preference('OPACShibOnly') or SCO_login or SCI_login %] >- [% IF SCO_login %] >- <form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> >- [% ELSIF SCI_login %] >- <form action="/cgi-bin/koha/sci/sci-main.pl" name="auth" id="auth" method="post" autocomplete="off"> >- [% ELSE %] >- <form action="[% script_name | html %]" name="auth" id="auth" method="post" autocomplete="off"> >- [% END %] >- <input type="hidden" name="koha_login_context" value="opac" /> >- >- <fieldset class="brief"> >- [% FOREACH INPUT IN INPUTS %] >- [% NEXT IF INPUT.name == 'logout.x' %] >- <input type="hidden" name="[% INPUT.name | html %]" value="[% INPUT.value | html %]" /> >- [% END %] >- <div class="form-group"> >- <label for="userid">Login</label> >- <input class="form-control" type="text" size="25" id="userid" name="userid" /> >- </div> >- <div class="form-group"> >- <label for="password">Password</label> >- <input class="form-control" type="password" size="25" id="password" name="password" /> >- </div> >- <fieldset class="action"> >- <input type="submit" value="Log in" class="btn btn-primary" /> >+ [% IF SCO_login %] >+ <form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> >+ [% ELSIF SCI_login %] >+ <form action="/cgi-bin/koha/sci/sci-main.pl" name="auth" id="auth" method="post" autocomplete="off"> >+ [% ELSE %] >+ <form action="[% script_name | html %]" name="auth" id="auth" method="post" autocomplete="off"> >+ [% END %] >+ <input type="hidden" name="koha_login_context" value="opac" /> >+ >+ <fieldset class="brief"> >+ [% FOREACH INPUT IN INPUTS %] >+ [% NEXT IF INPUT.name == 'logout.x' %] >+ <input type="hidden" name="[% INPUT.name | html %]" value="[% INPUT.value | html %]" /> >+ [% END %] >+ <div class="form-group"> >+ <label for="userid">Login</label> >+ <input class="form-control" type="text" size="25" id="userid" name="userid" /> >+ </div> >+ <div class="form-group"> >+ <label for="password">Password</label> >+ <input class="form-control" type="password" size="25" id="password" name="password" /> >+ </div> >+ <fieldset class="action"> >+ <input type="submit" value="Log in" class="btn btn-primary" /> >+ </fieldset> > </fieldset> >- </fieldset> > >- [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] >- <div id="forgotpassword"> >- <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> >- </div> >- [% END %] >- <div id="nologininstructions"> >- [% IF Koha.Preference('OpacLoginInstructions') %] >- [% Koha.Preference('OpacLoginInstructions') | $raw %] >- [% ELSE %] >- <h3>Don't have a password yet?</h3> >- <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p> >- <h3>Don't have a library card?</h3> >- <p>If you don't have a library card, stop by your local library to sign up.</p> >- [% END # / IF Koha.Preference('OpacLoginInstructions') %] >- >- [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] >- <span id="registrationinstructions"> >- <a href="/cgi-bin/koha/opac-memberentry.pl">You may register here.</a> >- </span> >+ [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] >+ <div id="forgotpassword"> >+ <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> >+ </div> > [% END %] >- </div> >- </form> >+ <div id="nologininstructions"> >+ [% IF Koha.Preference('OpacLoginInstructions') %] >+ [% Koha.Preference('OpacLoginInstructions') | $raw %] >+ [% ELSE %] >+ <h3>Don't have a password yet?</h3> >+ <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p> >+ <h3>Don't have a library card?</h3> >+ <p>If you don't have a library card, stop by your local library to sign up.</p> >+ [% END # / IF Koha.Preference('OpacLoginInstructions') %] >+ >+ [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] >+ <span id="registrationinstructions"> >+ <a href="/cgi-bin/koha/opac-memberentry.pl">You may register here.</a> >+ </span> >+ [% END %] >+ </div> >+ </form> > [% END # / IF !OPACShibOnly or SCO_login or SCI_login %] > [% END # / IF loginprompt %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index f2ccf82271..181fb9a0db 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -181,7 +181,7 @@ > <div class="col-12 col-lg-3 order-md-2"> > [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] > [% UNLESS ( loggedinusername ) %] >- [% UNLESS ( casAuthentication || shibbolethAuthentication ) %] >+ [% UNLESS ( casAuthentication || shibbolethAuthentication || Koha.Preference('opacShibOnly') ) %] > <div id="login"> > <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off"> > <input type="hidden" name="koha_login_context" value="opac" /> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18506
:
62810
|
79050
|
79522
|
79524
|
79540
|
89423
|
89424
|
91011
|
91012
|
91013
|
92665
|
92680
|
92681
|
92682
|
92683
|
116250
|
116251
|
116253
|
116280
|
116281
|
116282
|
116290
|
116536
|
116537
|
116538
|
116540