]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to lib/redmine/twofa/base.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 4 Dec 2020 13:59:53 +0000 (13:59 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 4 Dec 2020 13:59:53 +0000 (13:59 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20574 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/twofa/base.rb

index 03738f69638be156dc80daf82c90a282ee824405..c1cfce58bd2b1ebdbce6d55dcde204e4fbb2e600 100644 (file)
@@ -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,