From cc18505f3c4a8d235c3a44fcf73d1b91f4b349a7 Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Thu, 5 Jun 2014 10:43:58 +0200 Subject: [PATCH] useless "allowed domains" option removed --- app/views/settings/_oauth_settings.html.erb | 5 ----- init.rb | 2 -- 2 files changed, 7 deletions(-) diff --git a/app/views/settings/_oauth_settings.html.erb b/app/views/settings/_oauth_settings.html.erb index d44ed54..d875346 100644 --- a/app/views/settings/_oauth_settings.html.erb +++ b/app/views/settings/_oauth_settings.html.erb @@ -10,11 +10,6 @@ <%= text_field_tag 'settings[a2_server_url]', @settings[:a2_server_url] %>

- -

- - <%= text_area_tag "settings[allowed_domains]", @settings[:allowed_domains], :rows => 5 %> -

<%= check_box_tag "settings[oauth_authentification]", true, @settings[:oauth_authentification] %> diff --git a/init.rb b/init.rb index 3c8015e..8930339 100644 --- a/init.rb +++ b/init.rb @@ -13,8 +13,6 @@ Redmine::Plugin.register :redmine_oauth2_a2 do :client_id => "", :client_secret => "", :oauth_autentification => false, - :allowed_domains => "", :a2_server_url => "", - :a2_scopes_urls => "", }, :partial => 'settings/oauth_settings' end