Project

Profile

Help

How to connect?
Download (761 Bytes) Statistics
| Branch: | Revision:

root / init.rb @ master

1
require_dependency 'redmine_twofa_mail/twofa/mail'
2

    
3
Rails.configuration.to_prepare do
4
  RedmineTwofaMail::Patches::MailerPatch.apply
5
end
6

    
7
Redmine::Plugin.register :redmine_twofa_mail do
8
  name 'Redmine email 2-factor authentication'
9
  url 'https://support.plan.io/projects/redmine_twofa_mail/repository'
10
  author 'Felix Schäfer, Planio GmbH'
11
  author_url 'https://plan.io/team/#felix-schäfer'
12
  description 'This plugin adds 2-factor authentication via email. Each time a
13
               one-time-password is required an email is sent to the user with
14
               a one-time-password and a link the user can click instead of
15
               copying over the one-time-password to Redmine.'
16
  version '0.1.0'
17
  requires_redmine version_or_higher: '3.3.2'
18
end
19

    
(3-3/3)