entrance 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/entrance/model.rb +2 -2
- data/lib/entrance/version.rb +1 -1
- metadata +1 -1
data/lib/entrance/model.rb
CHANGED
@@ -108,13 +108,13 @@ module Entrance
|
|
108
108
|
|
109
109
|
module RemoteAuthMethods
|
110
110
|
|
111
|
-
private
|
112
|
-
|
113
111
|
def from_remote_auth?
|
114
112
|
send(::Entrance.fields.auth_provider).present? \
|
115
113
|
&& send(::Entrance.fields.auth_uid).present?
|
116
114
|
end
|
117
115
|
|
116
|
+
private
|
117
|
+
|
118
118
|
def password_required?
|
119
119
|
!from_remote_auth? && super
|
120
120
|
end
|
data/lib/entrance/version.rb
CHANGED