entrance 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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