Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Release v1.4.2

  • Loading branch information...
commit a543ba5d1a19b485a2691301c8d8c71e2b0ca603 1 parent 198521b
@binarylogic binarylogic authored
View
3  CHANGELOG.rdoc
@@ -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
View
1  lib/authlogic/session/brute_force_protection.rb
@@ -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
View
2  lib/authlogic/session/record_info.rb
@@ -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
View
2  lib/authlogic/version.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.