Bugzilla – Attachment 88527 Details for
Bug 20340
Ability to use authentication plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20340: add of empty method configure
Bug-20340-add-of-empty-method-configure.patch (text/plain), 996 bytes, created by
axel
on 2019-04-23 15:15:07 UTC
(
hide
)
Description:
Bug 20340: add of empty method configure
Filename:
MIME Type:
Creator:
axel
Created:
2019-04-23 15:15:07 UTC
Size:
996 bytes
patch
obsolete
>From f9beb88579664fdb1fbf832220045e140dc3f439 Mon Sep 17 00:00:00 2001 >From: Axel Amghar <axel.amghar@gmail.com> >Date: Tue, 23 Apr 2019 17:11:21 +0200 >Subject: [PATCH] Bug 20340: add of empty method configure > >--- > t/Koha/Plugin/TestAuth.pm | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/t/Koha/Plugin/TestAuth.pm b/t/Koha/Plugin/TestAuth.pm >index 438213b..164e868 100644 >--- a/t/Koha/Plugin/TestAuth.pm >+++ b/t/Koha/Plugin/TestAuth.pm >@@ -38,6 +38,11 @@ sub new { > return $self; > } > >+sub configure { >+ my ($self , $args) = @_; >+ $self->go_home(); >+} >+ > =head2 retrieve_data > > Just return priority. It overrides the one in Koha::Plugin::Base for the test. >@@ -65,7 +70,7 @@ sub retrieve_data { > sub checkpw { > my ( $self, $dbh, $userid, $password, $query, $type, $no_set_userenv ) = @_; > >- if ( $userid = 'test' && $password eq 'test' ) { >+ if ( $userid eq 'test' && $password eq 'test' ) { > return (1, 'test', 'test'); > } > >-- >2.7.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 20340
:
72469
|
73089
|
73098
|
73106
|
88470
|
88472
|
88473
|
88474
|
88475
|
88476
|
88477
|
88478
|
88487
|
88488
|
88511
|
88512
|
88518
|
88519
|
88520
|
88521
|
88522
|
88523
|
88526
|
88527
|
91304
|
91305
|
91306
|
91307