debshots/app/models/user.rb

5 lines
96 B
Ruby

class User < ActiveRecord::Base
acts_as_authentic do |c|
c.login_field = 'email'
end
end