Bugzilla – Attachment 187962 Details for
Bug 30724
Add ability for administrator to reset a users 2FA
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30724: Fix selenium tests - fix logic if no borrowernumber passed
Bug-30724-Fix-selenium-tests---fix-logic-if-no-bor.patch (text/plain), 973 bytes, created by
Jonathan Druart
on 2025-10-16 08:41:17 UTC
(
hide
)
Description:
Bug 30724: Fix selenium tests - fix logic if no borrowernumber passed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-16 08:41:17 UTC
Size:
973 bytes
patch
obsolete
>From 69dbfa46c0d34760363933ffb2ddd253fb0374fe Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Oct 2025 10:21:08 +0200 >Subject: [PATCH] Bug 30724: Fix selenium tests - fix logic if no > borrowernumber passed > >Then consider we want to edit the logged in user settings >--- > members/two_factor_auth.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/two_factor_auth.pl b/members/two_factor_auth.pl >index 307ab40d626..e163230632b 100755 >--- a/members/two_factor_auth.pl >+++ b/members/two_factor_auth.pl >@@ -45,7 +45,7 @@ if ( $TwoFactorAuthentication ne 'enabled' && $TwoFactorAuthentication ne 'enfor > my $op = $cgi->param('op') // ''; > my $patron_id = $cgi->param('borrowernumber') // ''; > >-my $another_user = $patron_id ne $loggedinuser; >+my $another_user = $patron_id && $patron_id ne $loggedinuser; > > my $logged_in_user = Koha::Patrons->find($loggedinuser); > >-- >2.34.1
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 30724
:
184938
|
184939
|
186235
|
186236
|
186237
|
186251
|
186252
|
186253
|
187962
|
187963
|
187964
|
188037
|
188038
|
188039