Bugzilla – Attachment 77327 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: (QA follow-up) Fix usage in create_superlibrarian.pl
Bug-21087-QA-follow-up-Fix-usage-in-createsuperlib.patch (text/plain), 1001 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-07-31 02:12:14 UTC
(
hide
)
Description:
Bug 21087: (QA follow-up) Fix usage in create_superlibrarian.pl
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-07-31 02:12:14 UTC
Size:
1001 bytes
patch
obsolete
>From dec983ec1b12de0e95aa0d64fc6e32a9d5b3fece Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 30 Jul 2018 22:51:32 -0300 >Subject: [PATCH] Bug 21087: (QA follow-up) Fix usage in > create_superlibrarian.pl > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/devel/create_superlibrarian.pl | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/misc/devel/create_superlibrarian.pl b/misc/devel/create_superlibrarian.pl >index 938d34ea13..d9789fe096 100755 >--- a/misc/devel/create_superlibrarian.pl >+++ b/misc/devel/create_superlibrarian.pl >@@ -46,12 +46,10 @@ my $patron = Koha::Patron->new({ > cardnumber => $cardnumber, > branchcode => $branchcode, > categorycode => $categorycode, >- password => $password, > flags => 1, > })->store; > >-my $digest = Koha::AuthUtils::hash_password($password); >-$patron->update({password => $digest,}); >+$patron->update_password( $userid, $password ); > > =head1 NAME > >-- >2.18.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