Bugzilla – Attachment 6516 Details for
Bug 7285
ILSDI service AuthenticatePatron doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug/7285 Use C4::Auth::checkpw instead of checkpw only
bug7285-Use-C4Authcheckpw-instead-of-checkpw-only.patch (text/plain), 904 bytes, created by
Chris Cormack
on 2011-12-02 08:56:48 UTC
(
hide
)
Description:
bug/7285 Use C4::Auth::checkpw instead of checkpw only
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-12-02 08:56:48 UTC
Size:
904 bytes
patch
obsolete
>From 397131675ac697e68dc87477c9cb2a2664552cec Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Fri, 2 Dec 2011 09:19:33 +0100 >Subject: [PATCH] bug/7285 Use C4::Auth::checkpw instead of checkpw only > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > C4/ILSDI/Services.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 90f741a..067afd7 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -315,7 +315,7 @@ sub AuthenticatePatron { > my ($cgi) = @_; > > # Check if borrower exists, using a C4::Auth function... >- unless( checkpw( C4::Context->dbh, $cgi->param('username'), $cgi->param('password') ) ) { >+ unless( C4::Auth::checkpw( C4::Context->dbh, $cgi->param('username'), $cgi->param('password') ) ) { > return { code => 'PatronNotFound' }; > } > >-- >1.7.5.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 7285
:
6512
| 6516