useless "allowed domains" option removed
This commit is contained in:
parent
b75ea3ab8d
commit
cc18505f3c
|
@ -10,11 +10,6 @@
|
||||||
<label>Server name:</label>
|
<label>Server name:</label>
|
||||||
<%= text_field_tag 'settings[a2_server_url]', @settings[:a2_server_url] %>
|
<%= text_field_tag 'settings[a2_server_url]', @settings[:a2_server_url] %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<label>Available domains</label>
|
|
||||||
<%= text_area_tag "settings[allowed_domains]", @settings[:allowed_domains], :rows => 5 %>
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
<label>Oauth authentification:</label>
|
<label>Oauth authentification:</label>
|
||||||
<%= check_box_tag "settings[oauth_authentification]", true, @settings[:oauth_authentification] %>
|
<%= check_box_tag "settings[oauth_authentification]", true, @settings[:oauth_authentification] %>
|
||||||
|
|
2
init.rb
2
init.rb
|
@ -13,8 +13,6 @@ Redmine::Plugin.register :redmine_oauth2_a2 do
|
||||||
:client_id => "",
|
:client_id => "",
|
||||||
:client_secret => "",
|
:client_secret => "",
|
||||||
:oauth_autentification => false,
|
:oauth_autentification => false,
|
||||||
:allowed_domains => "",
|
|
||||||
:a2_server_url => "",
|
:a2_server_url => "",
|
||||||
:a2_scopes_urls => "",
|
|
||||||
}, :partial => 'settings/oauth_settings'
|
}, :partial => 'settings/oauth_settings'
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue