Skip to content

Commit

Permalink
comment out user validations for now
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhbhatia authored Sep 25, 2024
1 parent 8cfc87e commit b4e7d9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class User < ApplicationRecord
has_many :purchases, dependent: :destroy
has_many :products, through: :purchases
has_many :orders, dependent: :destroy
validates :first_name, :last_name, :email, :password, presence: true
validates_confirmation_of :password
# validates :first_name, :last_name, :email, :password, presence: true
# validates_confirmation_of :password
before_validation :set_uid_provider

def can_receive_payments?
Expand Down

0 comments on commit b4e7d9b

Please sign in to comment.