Commit 426b4d0472272abbc5bbb05dc6c5b7188d1f30bc

Authored by Daniel
Committed by Eduardo Silva Araújo
1 parent f85181ef
Exists in colab

[Colab] Fix password validation for User with OmniAuth provider

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/user.rb
@@ -24,6 +24,6 @@ class User < ActiveRecord::Base @@ -24,6 +24,6 @@ class User < ActiveRecord::Base
24 protected 24 protected
25 25
26 def password_required? 26 def password_required?
27 - provider.nil? 27 + provider.nil? && super
28 end 28 end
29 end 29 end