DEV: Remove unused `max_api_keys_per_user` site setting (#12185)

DEV: Remove unused max_api_keys_per_user site setting (#12185)

This was added in fc095acaaa3a46432a171dedfbb8ecb91d31c46e, but a check was never implemented

diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 473ad85..2971c07 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -2242,7 +2242,6 @@ en:
 
     allow_user_api_keys: "Allow generation of user API keys"
     allow_user_api_key_scopes: "List of scopes allowed for user API keys"
-    max_api_keys_per_user: "Maximum number of user API keys per user"
     min_trust_level_for_user_api_key: "Trust level required for generation of user API keys"
     allowed_user_api_auth_redirects: "Allowed URL for authentication redirect for user API keys. Wildcard symbol * can be used to match any part of it (e.g. www.example.com/*)."
     allowed_user_api_push_urls: "Allowed URLs for server push to user API"
diff --git a/config/site_settings.yml b/config/site_settings.yml
index 7481295..a129227 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -2326,8 +2326,6 @@ user_api:
   allow_user_api_key_scopes:
     default: "read|write|message_bus|push|notifications|session_info|one_time_password"
     type: list
-  max_api_keys_per_user:
-    default: 10
   push_api_secret_key:
     default: ""
     hidden: true

GitHub sha: 3787bbc2

1 Like

This commit appears in #12185 which was approved by CvX. It was merged by davidtaylorhq.