Skip to content

Commit

Permalink
recaptcha to redis
Browse files Browse the repository at this point in the history
  • Loading branch information
baldarn committed Sep 2, 2024
1 parent 5761e01 commit 921af75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/rucaptcha.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# But RuCaptcha requirements cache_store not in [:null_store, :memory_store, :file_store]
# 默认:会从 Rails 配置的 cache_store 里面读取相同的配置信息,并尝试用可以运行的方式,用于存储验证码字符
# 但如果是 [:null_store, :memory_store, :file_store] 之类的,你可以通过下面的配置项单独给 RuCaptcha 配置 cache_store
self.cache_store = :memory_store
# self.cache_store = :memory_store

# If you wants disable `cache_store` check warning, you can do it, default: false
# 如果想要 disable cache_store 的 warning,就设置为 true,default false
Expand Down

0 comments on commit 921af75

Please sign in to comment.