di-simple_auth 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
@@ -59,7 +59,7 @@ module SimpleAuth
59
59
  def confirm!
60
60
  self.confirmed = true
61
61
  self.confirmation_token = nil
62
- primary_contact = self.contacts.where(:value => self.login , :confirmed => true).first
62
+ primary_contact = self.contacts.where(:value => self.login , :confirmed => false).first
63
63
  primary_contact.confirm!
64
64
  save(:validate => false)
65
65
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dieinzige