summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-13 12:40:41 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-13 12:40:41 +0000
commit31a885ef2510c6899a57c18a6192712629403831 (patch)
tree15ce4c3d0927bfc935f781c8569d3f3cb96cbe8a
parentb250912d179d2119f4a7e20676d26a1d123558d5 (diff)
downloadredmine-31a885ef2510c6899a57c18a6192712629403831.tar.gz
redmine-31a885ef2510c6899a57c18a6192712629403831.zip
remove spaces inside {} of app/models/token.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20360 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/token.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/token.rb b/app/models/token.rb
index e34d6b65e..1de251e40 100644
--- a/app/models/token.rb
+++ b/app/models/token.rb
@@ -37,10 +37,10 @@ class Token < ActiveRecord::Base
end
add_action :api, max_instances: 1, validity_time: nil
- add_action :autologin, max_instances: 10, validity_time: Proc.new { Setting.autologin.to_i.days }
+ add_action :autologin, max_instances: 10, validity_time: Proc.new {Setting.autologin.to_i.days}
add_action :feeds, max_instances: 1, validity_time: nil
- add_action :recovery, max_instances: 1, validity_time: Proc.new { Token.validity_time }
- add_action :register, max_instances: 1, validity_time: Proc.new { Token.validity_time }
+ add_action :recovery, max_instances: 1, validity_time: Proc.new {Token.validity_time}
+ add_action :register, max_instances: 1, validity_time: Proc.new {Token.validity_time}
add_action :session, max_instances: 10, validity_time: nil
add_action :twofa_backup_code, max_instances: 10, validity_time: nil