Skip to content

Commit

Permalink
Removed user email validations
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Nov 16, 2008
1 parent 8bbc485 commit f0fc44f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/models/user.rb
@@ -1,9 +1,6 @@
class User < ActiveRecord::Base
acts_as_authentic

validates_presence_of :email
validates_uniqueness_of :email

def deliver_password_reset_instructions!
reset_password_reset_token!
Notifier.deliver_password_reset_instructions(self)
Expand Down

0 comments on commit f0fc44f

Please sign in to comment.