summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 12:59:03 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 12:59:03 +0000
commit0a4c910ddb6f3a33fed205590b451dd912862420 (patch)
tree2605b38f5d6760a4342aae579e6834b9de76662f /lib/redmine
parentf2f7fb6e572be94a9188b06a3f9b948f5dd5254c (diff)
downloadredmine-0a4c910ddb6f3a33fed205590b451dd912862420.tar.gz
redmine-0a4c910ddb6f3a33fed205590b451dd912862420.zip
remove spaces inside {} of lib/redmine/twofa.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20473 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/twofa.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/twofa.rb b/lib/redmine/twofa.rb
index 0096f3951..d43cdc98b 100644
--- a/lib/redmine/twofa.rb
+++ b/lib/redmine/twofa.rb
@@ -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