Commit 49b4053a5cf0300dd7693df0f6786aabe64fbbb4

Authored by Daniel
Committed by Diego Camarinha
1 parent 3b98e9c2

[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