]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of lib/redmine/twofa/base.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 12:59:26 +0000 (12:59 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 12:59:26 +0000 (12:59 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20476 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/twofa/base.rb

index 4c9c140f909cf7feac701970991df256063f488e..03738f69638be156dc80daf82c90a282ee824405 100644 (file)
@@ -61,7 +61,7 @@ module Redmine
             message: 'twofa_mail_body_security_notification_paired',
             # (mis-)use field here as value wouldn't get localized
             field: "twofa__#{scheme_name}__name",
-            url: { controller: 'my', action: 'account' }
+            url: {controller: 'my', action: 'account'}
           }
         ).deliver
       end
@@ -88,7 +88,7 @@ module Redmine
           {
             title: :label_my_account,
             message: 'twofa_mail_body_security_notification_unpaired',
-            url: { controller: 'my', action: 'account' }
+            url: {controller: 'my', action: 'account'}
           }
         ).deliver
       end
@@ -121,7 +121,7 @@ module Redmine
             originator: @user,
             title: :label_my_account,
             message: 'twofa_mail_body_backup_code_used',
-            url: { controller: 'my', action: 'account' }
+            url: {controller: 'my', action: 'account'}
           }
         ).deliver
         return true
@@ -141,7 +141,7 @@ module Redmine
           {
             title: :label_my_account,
             message: 'twofa_mail_body_backup_codes_generated',
-            url: { controller: 'my', action: 'account' }
+            url: {controller: 'my', action: 'account'}
           }
         ).deliver
         tokens