Bugzilla – Attachment 77286 Details for
Bug 21087
Patron's password is hashed twice when the object is saved
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21087: Fix one wrong call
Bug-21087-Fix-one-wrong-call.patch (text/plain), 1.32 KB, created by
Kyle M Hall (khall)
on 2018-07-26 13:37:26 UTC
(
hide
)
Description:
Bug 21087: Fix one wrong call
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-07-26 13:37:26 UTC
Size:
1.32 KB
patch
obsolete
>From f59b8138772a41cb972b1ae9cec6b93481fdfbe0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 25 Jul 2018 10:37:57 -0300 >Subject: [PATCH] Bug 21087: Fix one wrong call > >Signed-off-by: John Doe <you@example.com> >--- > members/memberentry.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index ff77fbef0a..b48975ab6d 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -537,7 +537,9 @@ if ((!$nok) and $nodouble and ($op eq 'insert' or $op eq 'save')){ > # updating any columns in the borrowers table, > # which can happen if we're only editing the > # patron attributes or messaging preferences sections >- $patron->update_password($newdata{password}); # If != **** or '' # test here? >+ >+ $patron->update_password($newdata{userid}, $newdata{password}); >+ > if (C4::Context->preference('ExtendedPatronAttributes') and $input->param('setting_extended_patron_attributes')) { > C4::Members::Attributes::SetBorrowerAttributes($borrowernumber, $extended_patron_attributes); > } >-- >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 21087
:
77095
|
77096
|
77200
|
77201
|
77254
|
77255
|
77273
|
77284
|
77285
| 77286 |
77287
|
77288
|
77327