Bugzilla – Attachment 64719 Details for
Bug 18880
Regression breaks local authentication fallback for all external authentications
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
local_fallback.patch (text/plain), 1.14 KB, created by
Oliver Behnke
on 2017-06-29 11:54:42 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Oliver Behnke
Created:
2017-06-29 11:54:42 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/C4/Auth.pm b/C4/Auth.pm >index 9e787c0567..e355d3b178 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -1764,14 +1764,14 @@ sub checkpw { > my $patron = Koha::Patrons->find({ userid => $userid }); > > if ( $patron and $patron->account_locked ) { >- @return = (0); >+ @return = (); > } elsif ($ldap) { > $debug and print STDERR "## checkpw - checking LDAP\n"; > my ( $retval, $retcard, $retuserid ) = checkpw_ldap(@_); # EXTERNAL AUTH > if ( $retval ) { > @return = ( $retval, $retcard, $retuserid ); > } else { >- @return = (0); >+ @return = (); > } > > } elsif ( $cas && $query && $query->param('ticket') ) { >@@ -1784,7 +1784,7 @@ sub checkpw { > if ( $retval ) { > @return = ( $retval, $retcard, $retuserid ); > } else { >- @return = (0); >+ @return = (); > } > } > >@@ -1805,7 +1805,7 @@ sub checkpw { > if ( $retval ) { > @return = ( $retval, $retcard, $retuserid ); > } else { >- @return = (0); >+ @return = (); > } > } > }
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 18880
:
64719
|
64862
|
64877
|
64909
|
65000
|
65001
|
65011
|
65021
|
65037
|
65038
|
65053
|
65054