FIX: Rely on the auth token log to get user-agent/user-ip information when sending it to Akismet

FIX: Rely on the auth token log to get user-agent/user-ip information when sending it to Akismet

diff --git a/lib/discourse_akismet/users_bouncer.rb b/lib/discourse_akismet/users_bouncer.rb
index 1100428..c36a3a4 100644
--- a/lib/discourse_akismet/users_bouncer.rb
+++ b/lib/discourse_akismet/users_bouncer.rb
@@ -42,7 +42,7 @@ module DiscourseAkismet
     private
 
     def args_for_user(user)
-      user_auth_token = user.user_auth_tokens.last
+      user_auth_token = user.user_auth_token_logs.last
       profile = user.user_profile
 
       extra_args = {

GitHub sha: 4ead0176