summaryrefslogtreecommitdiffstats
path: root/lib/redmine/twofa
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-08-31 21:45:19 +0000
committerGo MAEDA <maeda@farend.jp>2020-08-31 21:45:19 +0000
commit2ee6a7cead15d589a56b95ce0f6f1d6dabb45759 (patch)
tree1cd9a8d40d27ee59053ca485c5f16e4a33314368 /lib/redmine/twofa
parent7750ec6ff6877cf4a3d4e3b2f9bb1139deb78af7 (diff)
downloadredmine-2ee6a7cead15d589a56b95ce0f6f1d6dabb45759.tar.gz
redmine-2ee6a7cead15d589a56b95ce0f6f1d6dabb45759.zip
Fix an error "uninitialized constant Redmine::Twofa::Base" when accessing My account in production mode (#1237, #33932).
git-svn-id: http://svn.redmine.org/redmine/trunk@19997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/twofa')
-rw-r--r--lib/redmine/twofa/totp.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/twofa/totp.rb b/lib/redmine/twofa/totp.rb
index ff4fe9cf1..e304208a2 100644
--- a/lib/redmine/twofa/totp.rb
+++ b/lib/redmine/twofa/totp.rb
@@ -17,6 +17,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+require_relative 'base'
+
module Redmine
module Twofa
class Totp < Base