Permalink
Browse files

Release v1.4.2

  • Loading branch information...
1 parent 198521b commit a543ba5d1a19b485a2691301c8d8c71e2b0ca603 @binarylogic binarylogic committed Feb 20, 2009
View
@@ -1,9 +1,10 @@
-== 1.4.2
+== 1.4.2 released 2009-2-20
* Cleaned up callbacks system to use hooks and execute in the proper order.
* Added brute force protection. See the consecutive_failed_logins_limit configuration option in Authlogic::Session::Config. Also see Authlogic::Session:BruteForceProtection
* Fixed issue with calling stale? when there is no record.
* Simon Harris fixed the issue of using lock_version with the associated record and also optimized the library for better performance.
+* Implemented saving the record during the callback chain to execute as few queries as possible. This way modules can hook into Authlogic, modify the associated record, and not have to worry about saving the record.
== 1.4.1 released 2009-2-8
@@ -47,7 +47,6 @@ def increase_failed_login_count
if !errors.empty?
record.failed_login_count ||= 0
record.failed_login_count += 1
- #record.save_without_session_maintenance(false)
end
end
end
@@ -18,8 +18,6 @@ def update_info
record.last_login_ip = record.current_login_ip if record.respond_to?(:last_login_ip)
record.current_login_ip = controller.request.remote_ip
end
-
- #record.save_without_session_maintenance(false)
end
end
end
@@ -44,7 +44,7 @@ def to_a
MAJOR = 1
MINOR = 4
- TINY = 1
+ TINY = 2
# The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)

0 comments on commit a543ba5

Please sign in to comment.