Sha256: d8692e93cd836ad542dcbda22d7e9e3f0f70d4d4f9c3ff6b784bbd62c0a99680

Contents?: true

Size: 765 Bytes

Versions: 19

Compression:

Stored size: 765 Bytes

Contents

# An user account.
class User < ActiveRecord::Base
  include Authpwn::UserModel

  # Virtual email attribute, with validation.
  # include Authpwn::UserExtensions::EmailField
  # Virtual password attribute, with confirmation validation.
  # include Authpwn::UserExtensions::PasswordField
  # Convenience Facebook accessors.
  # include Authpwn::UserExtensions::FacebookFields

  # Change this method to change the way users are looked up when signing in.
  #
  # For example, to implement Facebook / Twitter's ability to log in using
  # either an e-mail address or a username, look up the user by the username,
  # and pass their e-mail to super.
  def self.authenticate_signin(email, password)
    super
  end

  # Add your extensions to the User class here.
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
authpwn_rails-0.16.2 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.16.1 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.16.0 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.15.3 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.15.2 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.15.1 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.15.0 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.14.3 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.14.2 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.14.1 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.14.0 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.13.4 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.13.3 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.13.2 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.13.1 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.13.0 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.12.1 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.12.0 lib/authpwn_rails/generators/templates/user.rb
authpwn_rails-0.11.1 lib/authpwn_rails/generators/templates/user.rb