devision 0.0.2.4 → 0.0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devision/models/recoverable.rb +2 -2
- data/lib/devision/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa4060fe9c554b4206efc45e3ce9e3b384fbbbf5
|
4
|
+
data.tar.gz: ee75911c949a2d904a3a4b0f07f94055a5bde509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec371814cfcf088751d13577bd200f1f602cf75c0383413747e8454365cf20efe2fc8dd37bc26811e6a6d4f35b8b8515a9e4074c9f8c51786405f3aa6cc1289d
|
7
|
+
data.tar.gz: a310efb8d52376c97b82286fad23b3853052a37a8beb47f41e017a7586584f99c9a4fed62e54969c136b274ca0285e4a9e572def02dcf2be08ad7235c4facfde
|
@@ -49,11 +49,11 @@ module Devision
|
|
49
49
|
# Resets reset password token and send reset password instructions by email.
|
50
50
|
# Returns the token which can then be sent via email
|
51
51
|
def generate_password_tokens
|
52
|
-
@
|
52
|
+
@raw_reset_password_token, enc = Devision.token_generator.generate(self.class, :reset_password_token)
|
53
53
|
|
54
54
|
self.reset_password_token = enc
|
55
55
|
self.reset_password_sent_at = Time.now.utc
|
56
|
-
@
|
56
|
+
@raw_reset_password_token
|
57
57
|
end
|
58
58
|
|
59
59
|
def generate_password_tokens!
|
data/lib/devision/version.rb
CHANGED