change expires_in from 2 minutes to 60 minutes
This commit is contained in:
parent
aac564005c
commit
87b0035bd6
|
@ -2,7 +2,7 @@ RuCaptcha.configure do
|
||||||
# Color style, default: :colorful, allows: [:colorful, :black_white]
|
# Color style, default: :colorful, allows: [:colorful, :black_white]
|
||||||
# self.style = :colorful
|
# self.style = :colorful
|
||||||
# Custom captcha code expire time if you need, default: 2 minutes
|
# Custom captcha code expire time if you need, default: 2 minutes
|
||||||
# self.expires_in = 120
|
self.expires_in = 60.minutes
|
||||||
# [Requirement / 重要]
|
# [Requirement / 重要]
|
||||||
# Store Captcha code where, this config more like Rails config.cache_store
|
# Store Captcha code where, this config more like Rails config.cache_store
|
||||||
# default: Read config info from `Rails.application.config.cache_store`
|
# default: Read config info from `Rails.application.config.cache_store`
|
||||||
|
@ -18,4 +18,4 @@ RuCaptcha.configure do
|
||||||
# self.strikethrough = true
|
# self.strikethrough = true
|
||||||
# enable/disable Outline style
|
# enable/disable Outline style
|
||||||
# self.outline = false
|
# self.outline = false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue