entrance 0.4.5 → 0.4.6
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/addons/omniauth.rb +1 -1
- data/lib/entrance/version.rb +1 -1
- metadata +1 -1
|
@@ -157,7 +157,7 @@ module Entrance
|
|
|
157
157
|
else # no user with that provider/uid found
|
|
158
158
|
name, email = info['name'], info['email']
|
|
159
159
|
|
|
160
|
-
if email.present? and user =
|
|
160
|
+
if email.present? and user = find_user_with_username(email)
|
|
161
161
|
|
|
162
162
|
# if using different provider, it will update it
|
|
163
163
|
log "Found user, but with different credentials."
|
data/lib/entrance/version.rb
CHANGED