1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-06 15:41:33 +00:00

remove spaces inside {} of lib/redmine/twofa.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20473 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-22 12:59:03 +00:00
parent f2f7fb6e57
commit 0a4c910ddb

View 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