Sha256: 8400a617345cf5d1d1fb89f9c6cb60579f3a4523132b6db548bfdf5f37a916a9
Contents?: true
Size: 1.03 KB
Versions: 5
Compression:
Stored size: 1.03 KB
Contents
Nyauth.configure do |config| config.encryption_secret = ENV['NYAUTH_ENCRYPTION_SECRET'] config.confirmation_expire_limit = 1.hour config.reset_password_expire_limit = 1.hour config.mail_delivery_method = :deliver_now config.use_cookie_auth = false config.redirect_path do |urls| # config.redirect_path_after_sign_in = -> (client_name) { # if client_name == :admin # urls.admin_secret_notes_path # else # urls.root_path # end #} # config.redirect_path_after_sign_in = -> (client_name) {} # config.redirect_path_after_sign_out = -> (client_name) {} # config.redirect_path_after_registration = -> (client_name) {} # config.redirect_path_after_create_request_confirmation = -> (client_name) {} # config.redirect_path_after_update_confirmation = -> (client_name) {} # config.redirect_path_after_reset_password_request = -> (client_name) {} # config.redirect_path_after_reset_password = -> (client_name) {} # config.redirect_path_after_update_password = -> (client_name) {} end end
Version data entries
5 entries across 5 versions & 1 rubygems