fix expires time
This commit is contained in:
1 parent
cd437b485b
commit
a105d824b4
1 file changed
+1
-1
@@ -2,7 +2,7 @@ RuCaptcha.configure do
|
||||
# Color style, default: :colorful, allows: [:colorful, :black_white]
|
||||
# self.style = :colorful
|
||||
# Custom captcha code expire time if you need, default: 2 minutes
|
||||
self.expires_in = 60.minutes
|
||||
self.expires_in = 1.days.to_i
|
||||
# [Requirement / 重要]
|
||||
# Store Captcha code where, this config more like Rails config.cache_store
|
||||
# default: Read config info from `Rails.application.config.cache_store`
|
||||
|
||||
Reference in new issue
Block a user