From bc71306ba0fc6b0597f81e45baacc948b6687b90 Mon Sep 17 00:00:00 2001 From: anaghwadhwa123 Date: Fri, 24 Jul 2026 10:31:16 +1000 Subject: [PATCH] fix(security): require authentication on settings endpoint --- app/api/settings_api.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/api/settings_api.rb b/app/api/settings_api.rb index 39be2d292a..5428cc8945 100644 --- a/app/api/settings_api.rb +++ b/app/api/settings_api.rb @@ -1,6 +1,12 @@ require 'grape' class SettingsApi < Grape::API + helpers AuthenticationHelpers + + before do + authenticated? + end + # # Returns the current auth method #