Bug 25045: (RM follow-up) Add the RESTPublicAnonymousRequests syspref
The atomic update alos included a quoting mistake
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 19a241c131)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
This commit is contained in:
parent
e18744fd4f
commit
bdb8edb5b5
|
|
@ -20596,7 +20596,7 @@ if( CheckVersion( $DBversion ) ) {
|
|||
INSERT IGNORE INTO `systempreferences`
|
||||
(`variable`,`value`,`explanation`,`options`,`type`)
|
||||
VALUES
|
||||
('RESTPublicAnonymousRequests', $opac_public, NULL,'If enabled, the API will allow anonymous access to public routes that don\'t require authenticated access'.','YesNo');
|
||||
('RESTPublicAnonymousRequests', $opac_public, NULL,'If enabled, the API will allow anonymous access to public routes that don\'t require authenticated access.','YesNo');
|
||||
});
|
||||
|
||||
NewVersion( $DBversion, 25045, "Add a way to restrict anonymous access to public routes (OpacPublic behaviour)");
|
||||
|
|
|
|||
Loading…
Reference in New Issue