summaryrefslogtreecommitdiffstats
path: root/lib/redmine/twofa
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-04 13:59:53 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-12-04 13:59:53 +0000
commit1b111f9389b06e08e6ec4eac17da96763f5656b4 (patch)
tree3203b0491ae8eb500ef79a4c7a20383e8926c048 /lib/redmine/twofa
parent80f93121780da343881d9635429f7c5c21ef3f32 (diff)
downloadredmine-1b111f9389b06e08e6ec4eac17da96763f5656b4.tar.gz
redmine-1b111f9389b06e08e6ec4eac17da96763f5656b4.zip
add empty line after guard clause to lib/redmine/twofa/base.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20574 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/twofa')
-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,