novelys_authlogic 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/novelys_authlogic/acts_as_authentic/password.rb +1 -1
- data/lib/novelys_authlogic/acts_as_authentic/perishable_token.rb +1 -1
- data/lib/novelys_authlogic/acts_as_authentic/persistence_token.rb +1 -1
- data/lib/novelys_authlogic/session/callbacks.rb +1 -1
- data/novelys_authlogic.gemspec +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -274,7 +274,7 @@ module Authlogic
|
|
274
274
|
# Resets the password to a random friendly token and then saves the record.
|
275
275
|
def reset_password!
|
276
276
|
reset_password
|
277
|
-
save_without_session_maintenance(false)
|
277
|
+
save_without_session_maintenance(:validate => false)
|
278
278
|
end
|
279
279
|
alias_method :randomize_password!, :reset_password!
|
280
280
|
|
@@ -91,7 +91,7 @@ module Authlogic
|
|
91
91
|
# Same as reset_perishable_token, but then saves the record afterwards.
|
92
92
|
def reset_perishable_token!
|
93
93
|
reset_perishable_token
|
94
|
-
save_without_session_maintenance(false)
|
94
|
+
save_without_session_maintenance(:validate => false)
|
95
95
|
end
|
96
96
|
|
97
97
|
# A convenience method based on the disable_perishable_token_maintenance configuration option.
|
@@ -53,7 +53,7 @@ module Authlogic
|
|
53
53
|
# Same as reset_persistence_token, but then saves the record.
|
54
54
|
def reset_persistence_token!
|
55
55
|
reset_persistence_token
|
56
|
-
save_without_session_maintenance(false)
|
56
|
+
save_without_session_maintenance(:validate => false)
|
57
57
|
end
|
58
58
|
alias_method :forget!, :reset_persistence_token!
|
59
59
|
|
@@ -92,7 +92,7 @@ module Authlogic
|
|
92
92
|
|
93
93
|
def save_record(alternate_record = nil)
|
94
94
|
r = alternate_record || record
|
95
|
-
r.save_without_session_maintenance(false) if r && r.changed? && !r.readonly?
|
95
|
+
r.save_without_session_maintenance(:validate => false) if r && r.changed? && !r.readonly?
|
96
96
|
end
|
97
97
|
end
|
98
98
|
end
|
data/novelys_authlogic.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{novelys_authlogic}
|
8
|
-
s.version = "2.1.
|
8
|
+
s.version = "2.1.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Johnson of Binary Logic"]
|