Skip to content

Commit

Permalink
Merge pull request #45 from centosadmin/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
vladislav-yashin authored Feb 20, 2018
2 parents c546782 + d2794c8 commit d715afe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.3.4

* Add bot collision check

# 1.3.3

* Fix missing locale 2fa
Expand Down
9 changes: 9 additions & 0 deletions app/views/settings/_redmine_2fa.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
<p>
<label for="settings_bot_token">Bot Token</label>
<%= text_field_tag 'settings[bot_token]', @settings['bot_token'], size: 50 %>
<% if (bot_collisions = TelegramCommon.bot_collisions).present? %>
<br>
<strong style="color: red"><%= t 'telegram_common.settings.bot_collision' %></strong>
<% bot_collisions.each do |collision| %>
<p>
<strong><%= collision.join(', ') %><strong>
</p>
<% end %>
<% end %>
</p>
<table style="width: 100%">
<tr>
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Redmine::Plugin.register :redmine_2fa do
name 'Redmine 2FA'
version '1.3.3'
version '1.3.4'
url 'https://github.com/centosadmin/redmine_2fa'
description 'Two-factor authorization for Redmine'
author 'Southbridge'
Expand Down

0 comments on commit d715afe

Please sign in to comment.