From 426b4d0472272abbc5bbb05dc6c5b7188d1f30bc Mon Sep 17 00:00:00 2001 From: Daniel Miranda Date: Fri, 24 Apr 2015 09:25:28 -0300 Subject: [PATCH] [Colab] Fix password validation for User with OmniAuth provider --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 468fd52..4ee39ea 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -24,6 +24,6 @@ class User < ActiveRecord::Base protected def password_required? - provider.nil? + provider.nil? && super end end -- libgit2 0.21.2