We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Receive '403: forbidden' when registering new account
**Describe the bug**
When attempting to register a new account I receive a `403` status from the `/register` endpoint. 

*Full message:*
> 
> CSRF verification failed. Request aborted.
> 
> You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.
> 
> If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for “same-origin” requests.
> 

A friend reported this to me and I was able to reproduce. Cookies are not disabled on my browser. 

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://bookwyrm.social/
2. Fill in new user form and click "Sign Up"
3. Observe failed request and 403 response. 

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
<img width="798" alt="Screen Shot 2022-01-06 at 2 35 53 PM" src="https://user-images.githubusercontent.com/32184074/148462597-dead2839-f237-4523-b821-bb0f3055214e.png">
<img width="819" alt="Screen Shot 2022-01-06 at 2 34 21 PM" src="https://user-images.githubusercontent.com/32184074/148462625-136f0f46-4fd9-48a9-a02c-df628225c87e.png">


**Instance**
bookwyrm.social

---

**Desktop (please complete the following information):**
    - OS: macOS 12.1
    - Chrome Version 96.0.4664.110


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `bookwyrm/views/landing/landing.py`
Content:
```
1 """ non-interactive pages """
2 from django.template.response import TemplateResponse
3 from django.views import View
4 from django.utils.decorators import method_decorator
5 from django.views.decorators.cache import cache_page
6 
7 from bookwyrm import forms
8 from bookwyrm.views import helpers
9 from bookwyrm.views.feed import Feed
10 
11 
12 # pylint: disable= no-self-use
13 class About(View):
14     """create invites"""
15 
16     def get(self, request):
17         """more information about the instance"""
18         return TemplateResponse(request, "landing/about.html")
19 
20 
21 class Home(View):
22     """landing page or home feed depending on auth"""
23 
24     def get(self, request):
25         """this is the same as the feed on the home tab"""
26         if request.user.is_authenticated:
27             feed_view = Feed.as_view()
28             return feed_view(request, "home")
29         landing_view = Landing.as_view()
30         return landing_view(request)
31 
32 
33 class Landing(View):
34     """preview of recently reviewed books"""
35 
36     @method_decorator(cache_page(60 * 60), name="dispatch")
37     def get(self, request):
38         """tiled book activity page"""
39         data = {
40             "register_form": forms.RegisterForm(),
41             "request_form": forms.InviteRequestForm(),
42             "books": helpers.get_landing_books(),
43         }
44         return TemplateResponse(request, "landing/landing.html", data)
45
```
--- 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()

```

diff --git a/bookwyrm/views/landing/landing.py b/bookwyrm/views/landing/landing.py
--- a/bookwyrm/views/landing/landing.py
+++ b/bookwyrm/views/landing/landing.py
@@ -1,8 +1,6 @@
 """ non-interactive pages """
 from django.template.response import TemplateResponse
 from django.views import View
-from django.utils.decorators import method_decorator
-from django.views.decorators.cache import cache_page
 
 from bookwyrm import forms
 from bookwyrm.views import helpers
@@ -33,7 +31,6 @@
 class Landing(View):
     """preview of recently reviewed books"""
 
-    @method_decorator(cache_page(60 * 60), name="dispatch")
     def get(self, request):
         """tiled book activity page"""
         data = {

{"golden_diff": "diff --git a/bookwyrm/views/landing/landing.py b/bookwyrm/views/landing/landing.py\n--- a/bookwyrm/views/landing/landing.py\n+++ b/bookwyrm/views/landing/landing.py\n@@ -1,8 +1,6 @@\n \"\"\" non-interactive pages \"\"\"\n from django.template.response import TemplateResponse\n from django.views import View\n-from django.utils.decorators import method_decorator\n-from django.views.decorators.cache import cache_page\n \n from bookwyrm import forms\n from bookwyrm.views import helpers\n@@ -33,7 +31,6 @@\n class Landing(View):\n     \"\"\"preview of recently reviewed books\"\"\"\n \n-    @method_decorator(cache_page(60 * 60), name=\"dispatch\")\n     def get(self, request):\n         \"\"\"tiled book activity page\"\"\"\n         data = {\n", "issue": "Receive '403: forbidden' when registering new account\n**Describe the bug**\r\nWhen attempting to register a new account I receive a `403` status from the `/register` endpoint. \r\n\r\n*Full message:*\r\n> \r\n> CSRF verification failed. Request aborted.\r\n> \r\n> You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.\r\n> \r\n> If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for \u201csame-origin\u201d requests.\r\n> \r\n\r\nA friend reported this to me and I was able to reproduce. Cookies are not disabled on my browser. \r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Go to https://bookwyrm.social/\r\n2. Fill in new user form and click \"Sign Up\"\r\n3. Observe failed request and 403 response. \r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\n**Screenshots**\r\n<img width=\"798\" alt=\"Screen Shot 2022-01-06 at 2 35 53 PM\" src=\"https://user-images.githubusercontent.com/32184074/148462597-dead2839-f237-4523-b821-bb0f3055214e.png\">\r\n<img width=\"819\" alt=\"Screen Shot 2022-01-06 at 2 34 21 PM\" src=\"https://user-images.githubusercontent.com/32184074/148462625-136f0f46-4fd9-48a9-a02c-df628225c87e.png\">\r\n\r\n\r\n**Instance**\r\nbookwyrm.social\r\n\r\n---\r\n\r\n**Desktop (please complete the following information):**\r\n    - OS: macOS 12.1\r\n    - Chrome Version 96.0.4664.110\r\n\n", "before_files": [{"content": "\"\"\" non-interactive pages \"\"\"\nfrom django.template.response import TemplateResponse\nfrom django.views import View\nfrom django.utils.decorators import method_decorator\nfrom django.views.decorators.cache import cache_page\n\nfrom bookwyrm import forms\nfrom bookwyrm.views import helpers\nfrom bookwyrm.views.feed import Feed\n\n\n# pylint: disable= no-self-use\nclass About(View):\n    \"\"\"create invites\"\"\"\n\n    def get(self, request):\n        \"\"\"more information about the instance\"\"\"\n        return TemplateResponse(request, \"landing/about.html\")\n\n\nclass Home(View):\n    \"\"\"landing page or home feed depending on auth\"\"\"\n\n    def get(self, request):\n        \"\"\"this is the same as the feed on the home tab\"\"\"\n        if request.user.is_authenticated:\n            feed_view = Feed.as_view()\n            return feed_view(request, \"home\")\n        landing_view = Landing.as_view()\n        return landing_view(request)\n\n\nclass Landing(View):\n    \"\"\"preview of recently reviewed books\"\"\"\n\n    @method_decorator(cache_page(60 * 60), name=\"dispatch\")\n    def get(self, request):\n        \"\"\"tiled book activity page\"\"\"\n        data = {\n            \"register_form\": forms.RegisterForm(),\n            \"request_form\": forms.InviteRequestForm(),\n            \"books\": helpers.get_landing_books(),\n        }\n        return TemplateResponse(request, \"landing/landing.html\", data)\n", "path": "bookwyrm/views/landing/landing.py"}], "after_files": [{"content": "\"\"\" non-interactive pages \"\"\"\nfrom django.template.response import TemplateResponse\nfrom django.views import View\n\nfrom bookwyrm import forms\nfrom bookwyrm.views import helpers\nfrom bookwyrm.views.feed import Feed\n\n\n# pylint: disable= no-self-use\nclass About(View):\n    \"\"\"create invites\"\"\"\n\n    def get(self, request):\n        \"\"\"more information about the instance\"\"\"\n        return TemplateResponse(request, \"landing/about.html\")\n\n\nclass Home(View):\n    \"\"\"landing page or home feed depending on auth\"\"\"\n\n    def get(self, request):\n        \"\"\"this is the same as the feed on the home tab\"\"\"\n        if request.user.is_authenticated:\n            feed_view = Feed.as_view()\n            return feed_view(request, \"home\")\n        landing_view = Landing.as_view()\n        return landing_view(request)\n\n\nclass Landing(View):\n    \"\"\"preview of recently reviewed books\"\"\"\n\n    def get(self, request):\n        \"\"\"tiled book activity page\"\"\"\n        data = {\n            \"register_form\": forms.RegisterForm(),\n            \"request_form\": forms.InviteRequestForm(),\n            \"books\": helpers.get_landing_books(),\n        }\n        return TemplateResponse(request, \"landing/landing.html\", data)\n", "path": "bookwyrm/views/landing/landing.py"}]}