Commit 29fc30a2 authored by Jakob Moser's avatar Jakob Moser
Browse files

Don't require REST auth

parent f49641d7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -174,7 +174,8 @@ function fscoli_require_authentication_for_rest_api($previous_result) {
}

// To not require the authentication for all REST requests, remove the line below
add_filter('rest_authentication_errors', 'fscoli_require_authentication_for_rest_api');
// add_filter('rest_authentication_errors', 'fscoli_require_authentication_for_rest_api');
// This seems to break the Coli weekend registration form, so disable it for now.

/**
 * Disable the sitemap for users.
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser
 * Author URI: https://personads.me/
 *
 * Version: 2.2.0
 * Version: 2.3.0
 * Requires PHP: 8.0
 *
 * License: GNU General Public License v3.0