]> cat aescling's git repositories - mastodon.git/commit
Fix #6331 (#6341)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 23 Jan 2018 19:52:30 +0000 (20:52 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Jan 2018 19:52:30 +0000 (20:52 +0100)
commit1cc44cba81ee7e020f4db58e6b1e6821f47a9641
tree278238b8c2737c2fd2f7f355af7172c49ad44c56
parent4ec9d8b4d9b58766b7356d3173e9cdebf2dbae15
Fix #6331 (#6341)

UserTrackingConcern is circumvented by SessionsController#create
because it calls warden, which calls the User#update_tracked_fields!
method directly. Move returning user logic to that method.
app/controllers/concerns/user_tracking_concern.rb
app/models/user.rb