aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/views/main/index.py')
-rw-r--r--pysite/views/main/index.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pysite/views/main/index.py b/pysite/views/main/index.py
index 210eb057..8d0cb349 100644
--- a/pysite/views/main/index.py
+++ b/pysite/views/main/index.py
@@ -1,5 +1,6 @@
# coding=utf-8
from pysite.base_route import RouteView
+from pysite.constants import DISCORD_OAUTH_REDIRECT
class IndexView(RouteView):
@@ -7,4 +8,4 @@ class IndexView(RouteView):
name = "index"
def get(self):
- return self.render("main/index.html")
+ return self.render("main/index.html", login_url=DISCORD_OAUTH_REDIRECT)