minimalist_authentication 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/minimalist/authentication.rb +1 -1
- data/lib/minimalist/version.rb +1 -1
- metadata +3 -3
@@ -100,7 +100,7 @@ module Minimalist
|
|
100
100
|
|
101
101
|
def encrypt_password
|
102
102
|
return if password.blank?
|
103
|
-
self.salt = self.class.make_token
|
103
|
+
self.salt = self.class.make_token
|
104
104
|
self.crypted_password = self.class.secure_digest(password, salt, (self.respond_to?(:using_digest_version) ? PREFERRED_DIGEST_VERSION : 1))
|
105
105
|
self.using_digest_version = PREFERRED_DIGEST_VERSION if self.respond_to?(:using_digest_version)
|
106
106
|
end
|
data/lib/minimalist/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimalist_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 2
|
10
|
+
version: 0.6.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Baldwin
|