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