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 #