prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  UserResource in API should not display last login date publicly
  Somewhat sensitive information...
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `apps/api/v0/authentication.py`
  Content:
  ```
  1 # -*- coding: utf-8 -*-
  2 
  3 from tastypie import fields
  4 from tastypie.resources import ModelResource
  5 from tastypie.authorization import Authorization
  6 
  7 from apps.authentication.models import OnlineUser as User
  8 
  9 class UserResource(ModelResource):
  10 
  11     class Meta:
  12         queryset = User.objects.all()
  13         resource_name = 'user'
  14         fields = ['username', 'first_name', 'last_name', 'last_login', 'email', ]
  15
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/apps/api/v0/authentication.py b/apps/api/v0/authentication.py
  --- a/apps/api/v0/authentication.py
  +++ b/apps/api/v0/authentication.py
  @@ -11,4 +11,4 @@
       class Meta:
           queryset = User.objects.all()
           resource_name = 'user'
  -        fields = ['username', 'first_name', 'last_name', 'last_login', 'email', ]
  +        fields = ['username', 'first_name', 'last_name', 'email', ]
  
verification_info: {"golden_diff": "diff --git a/apps/api/v0/authentication.py b/apps/api/v0/authentication.py\n--- a/apps/api/v0/authentication.py\n+++ b/apps/api/v0/authentication.py\n@@ -11,4 +11,4 @@\n     class Meta:\n         queryset = User.objects.all()\n         resource_name = 'user'\n-        fields = ['username', 'first_name', 'last_name', 'last_login', 'email', ]\n+        fields = ['username', 'first_name', 'last_name', 'email', ]\n", "issue": "UserResource in API should not display last login date publicly\nSomewhat sensitive information...\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom tastypie import fields\nfrom tastypie.resources import ModelResource\nfrom tastypie.authorization import Authorization\n\nfrom apps.authentication.models import OnlineUser as User\n\nclass UserResource(ModelResource):\n\n    class Meta:\n        queryset = User.objects.all()\n        resource_name = 'user'\n        fields = ['username', 'first_name', 'last_name', 'last_login', 'email', ]\n", "path": "apps/api/v0/authentication.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom tastypie import fields\nfrom tastypie.resources import ModelResource\nfrom tastypie.authorization import Authorization\n\nfrom apps.authentication.models import OnlineUser as User\n\nclass UserResource(ModelResource):\n\n    class Meta:\n        queryset = User.objects.all()\n        resource_name = 'user'\n        fields = ['username', 'first_name', 'last_name', 'email', ]\n", "path": "apps/api/v0/authentication.py"}]}