Bugzilla – Attachment 30036 Details for
Bug 8148
ldap authentication should FAIL if ldap contains NEW password, and user types the PREVIOUS password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Only update the password if the LDAP password field was mapped.
PASSED-QA-Only-update-the-password-if-the-LDAP-pas.patch (text/plain), 1022 bytes, created by
Martin Renvoize (ashimema)
on 2014-07-24 15:20:43 UTC
(
hide
)
Description:
[PASSED QA] Only update the password if the LDAP password field was mapped.
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2014-07-24 15:20:43 UTC
Size:
1022 bytes
patch
obsolete
>From 61d33881c53fa443d7463a0dd0bb8e5a55354aad Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= <frederick.capovilla@libeo.com> >Date: Wed, 19 Feb 2014 10:59:59 -0500 >Subject: [PATCH] [PASSED QA] Only update the password if the LDAP password > field was mapped. > >http://bugs.koha-community.org/show_bug.cgi?id=8148 >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org> >--- > C4/Auth_with_ldap.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm >index 4f47f66..cf120e6 100644 >--- a/C4/Auth_with_ldap.pm >+++ b/C4/Auth_with_ldap.pm >@@ -318,8 +318,8 @@ sub update_local { > ((map {$borrower->{$_}} @keys), $borrowerid) > ); > >- # MODIFY PASSWORD/LOGIN >- _do_changepassword($userid, $borrowerid, $password); >+ # MODIFY PASSWORD/LOGIN if password was mapped >+ _do_changepassword($userid, $borrowerid, $password) if $borrower->{'password'}; > } > > 1; >-- >1.7.10.4
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 8148
:
25522
|
25523
|
26024
|
26025
|
26147
|
26543
|
29977
|
29978
|
29979
|
30035
| 30036 |
30037
|
30473
|
30524
|
30525
|
30586
|
30587