entrance 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- 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