Sha256: dc0f661913637fc97d6031845d22630fb9b304af189a1d4c173b0f9dbd1883c6
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
require 'login_engine/authenticated_user' require 'login_engine/authenticated_system' module LoginEngine include AuthenticatedSystem # re-include the helper module #-- # Define the configuration values. config sets the value of the # constant ONLY if it has not already been set, i.e. by the user in # environment.rb #++ # Source address for user emails config :email_from, 'lazyatom@lazyatom.com' # Destination email for system errors config :admin_email, 'lazyatom@lazyatom.com' # Sent in emails to users config :app_url, 'http://localhost:3000/' # Sent in emails to users config :app_name, 'TestApp' # Email charset config :mail_charset, 'utf-8' # Security token lifetime in hours config :security_token_life_hours, 24 # Two column form input config :TwoColumnInput, true # Add all changeable user fields to this array. # They will then be able to be edited from the edit action. You # should NOT include the email field in this array. config :changeable_fields, [ 'firstname', 'lastname' ] # Set to true to allow delayed deletes (i.e., delete of record # doesn't happen immediately after user selects delete account, # but rather after some expiration of time to allow this action # to be reverted). config :delayed_delete, false # Default is one week config :delayed_delete_days, 7 # the table to store user information in if ActiveRecord::Base.pluralize_table_names config :user_table, "users" else config :user_table, "user" end # controls whether or not email is used config :use_email_notification, true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
parlement-0.1 | vendor/plugins/login_engine/lib/login_engine.rb |
parlement-0.2 | vendor/plugins/login_engine/lib/login_engine.rb |
parlement-0.3 | vendor/plugins/login_engine/lib/login_engine.rb |