removed uniqueness constraint for emails for password resets
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
class UserPasswordResetNonce < ActiveRecord::Base
|
||||
validates_uniqueness_of :email
|
||||
validates_presence_of :email, :key
|
||||
validate :validate_existence_of_email
|
||||
before_validation :initialize_key, :on => :create
|
||||
|
||||
Reference in New Issue
Block a user