Bugzilla – Attachment 113328 Details for
Bug 19133
Password recovery routes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19133: Fix atomic updates
Bug-19133-Fix-atomic-updates.patch (text/plain), 2.20 KB, created by
Jonathan Druart
on 2020-11-09 16:23:51 UTC
(
hide
)
Description:
Bug 19133: Fix atomic updates
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-11-09 16:23:51 UTC
Size:
2.20 KB
patch
obsolete
>From 4f9e12073761135b5abd2f4fba1067297251d462 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 9 Nov 2020 14:31:04 +0100 >Subject: [PATCH] Bug 19133: Fix atomic updates > >--- > .../Bug-19133-2_Add_permission_get_password_reset_uuid.perl | 2 +- > .../Bug-19133-Password-recovery-custom-link-allowed-hosts.perl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/Bug-19133-2_Add_permission_get_password_reset_uuid.perl b/installer/data/mysql/atomicupdate/Bug-19133-2_Add_permission_get_password_reset_uuid.perl >index 5754d9d9c1..121032fd58 100644 >--- a/installer/data/mysql/atomicupdate/Bug-19133-2_Add_permission_get_password_reset_uuid.perl >+++ b/installer/data/mysql/atomicupdate/Bug-19133-2_Add_permission_get_password_reset_uuid.perl >@@ -2,7 +2,7 @@ $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { > > $dbh->do(q{ >- INSERT INTO permissions >+ INSERT IGNORE INTO permissions > (module_bit, code, description) > VALUES > ( 4, 'get_password_reset_uuid', 'Allow the user to get password reset uuid when recovering passwords. Useful for third party service integrations that wish to do something with the uuid, such as handle emails themselves instead of Koha.'); >diff --git a/installer/data/mysql/atomicupdate/Bug-19133-Password-recovery-custom-link-allowed-hosts.perl b/installer/data/mysql/atomicupdate/Bug-19133-Password-recovery-custom-link-allowed-hosts.perl >index 24be48a37d..acca6e6788 100644 >--- a/installer/data/mysql/atomicupdate/Bug-19133-Password-recovery-custom-link-allowed-hosts.perl >+++ b/installer/data/mysql/atomicupdate/Bug-19133-Password-recovery-custom-link-allowed-hosts.perl >@@ -2,7 +2,7 @@ $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { > > $dbh->do(q{ >- INSERT INTO systempreferences >+ INSERT IGNORE INTO systempreferences > (variable, value, options, explanation, type) > VALUES > ('OpacResetPasswordAllowedHosts', '', '', 'Allowed external host names for password reset in third party service. Separate list by whitespace, comma or |', 'free'); >-- >2.20.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 19133
:
66415
|
66416
|
66419
|
94551
|
94553
|
94554
|
112751
|
112752
|
112753
|
112755
|
112756
|
112757
|
112758
|
112937
|
112938
|
112939
|
112940
|
112941
|
112942
|
112943
|
112944
| 113328