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

lib/redmine/twofa.rb

index 0096f395135c1ad0cccc54c010d1b1baba70fadb..d43cdc98bf4ee50675b3303324c86c9d48ffc2a0 100644 (file)
@@ -38,7 +38,7 @@ module Redmine
 
     def self.unpair_all!
       users = User.where.not(twofa_scheme: nil)
-      users.each { |u| self.for_user(u).destroy_pairing_without_verify! }
+      users.each {|u| self.for_user(u).destroy_pairing_without_verify!}
     end
 
     def self.schemes
@@ -48,7 +48,7 @@ module Redmine
     private_class_method :schemes
 
     def self.initialize_schemes
-      @@schemes ||= { }
+      @@schemes ||= {}
       scan_builtin_schemes if @@schemes.blank?
     end
     private_class_method :initialize_schemes