We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52121e commit 046a39aCopy full SHA for 046a39a
1 file changed
app/models/email_change_request.rb
@@ -3,7 +3,6 @@ class EmailChangeRequest < ApplicationRecord
3
belongs_to :user
4
5
validates :new_email, presence: true, format: { with: URI::MailTo::EMAIL_REGEXP }
6
- # validates :token, presence: true, uniqueness: true
7
validates :expires_at, presence: true
8
validate :new_email_not_taken
9
validate :email_not_verified
0 commit comments