summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/twofa/base.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/twofa/base.rb b/lib/redmine/twofa/base.rb
index 03738f696..c1cfce58b 100644
--- a/lib/redmine/twofa/base.rb
+++ b/lib/redmine/twofa/base.rb
@@ -114,6 +114,7 @@ module Redmine
Token.where(user_id: @user.id).find_token('twofa_backup_code', code).try(:delete)
# make sure the user using the backup code is the same it's been issued to
return false unless @user.present? && @user == user_from_code
+
::Mailer.security_notification(
@user,
User.current,