9 lines
258 B
Ruby
9 lines
258 B
Ruby
|
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
|