entrance 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 = find_user_with_email(email)
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."
@@ -1,7 +1,7 @@
1
1
  module Entrance
2
2
  MAJOR = 0
3
3
  MINOR = 4
4
- PATCH = 5
4
+ PATCH = 6
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entrance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: