saucy/config/initializers/clearance.rb

9 lines
258 B
Ruby
Raw Normal View History

2022-06-25 22:45:47 +00:00
Clearance.configure do |config|
config.allow_sign_up = false
config.mailer_sender = ENV['SMTP_FROM_ADDRESS']
config.rotate_csrf_on_sign_in = true
config.secure_cookie = true
config.signed_cookie = true
config.sign_in_guards = ["ActiveGuard"]
end