binarylogic / authlogic

A simple ruby authentication solution.
http://rdoc.info/projects/binarylogic/authlogic
MIT License
4.34k stars 638 forks source link

Fix `default_timezone` depreciation warning in Rails 7 #744

Closed JenteSL closed 1 week ago

JenteSL commented 2 years ago

Per #743, I changed the implementation of the current time in the same way for #update_login_timestamps, to get rid of the ActiveRecord::Base.default_timezone depreciation warning in Rails 7.0.

jaredbeck commented 1 year ago

Please rebase and push to trigger new test run