app/models/user.rb
def update_with_password(params, *options)
    if encrypted_password.blank?
      update_attributes(params, *options)
    else
      super
    end
  end
# Skips password requirement when updating a user that has signed in via an
# external provider using Omniauth.
Skips password requirement when updating a user that has signed in via an
external provider using Omniauth.
Skips password requirement when updating a user that has signed in via an external provider using Omniauth .
def update_with_password(params, *options)
    if encrypted_password.blank?
      update_attributes(params, *options)
    else
      super
    end
  end
def update_with_password ( params , * options ) if encrypted_password . blank? update_attributes ( params , * options ) else super end end
Skips password requirement when updating a user that has signed in via an
external provider using Omniauth.
Skips password requirement when updating a user that has signed in via an external provider using Omniauth .
params
options