File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 8484ACCOUNT_AUTHENTICATION_METHOD = "email"
8585ACCOUNT_EMAIL_REQUIRED = True
8686LOGIN_REDIRECT_URL = "/dashboard/"
87+ ACCOUNT_LOGOUT_ON_GET = False
8788ACCOUNT_SIGNUP_REDIRECT_URL = "/onboarding/"
8889
8990LANGUAGE_CODE = "en-us"
Original file line number Diff line number Diff line change 22
33{% block content %}
44< div class ="container mx-auto p-4 ">
5- < h1 class ="text-3xl font-bold mb-8 "> Dashboard</ h1 >
6-
5+ < h1 class ="text-3xl font-bold mb-8 ">
6+ Welcome, {{ user_profile }}
7+ < form method ="post " action ="{% url 'account_logout' %} ">
8+ {% csrf_token %}
9+ < button type ="submit " class ="btn btn-error "> Sign Out</ button >
10+ </ form >
11+ </ h1 >
712 <!-- User Progress Section -->
813< div class ="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8 ">
914 <!-- XP Card -->
You can’t perform that action at this time.
0 commit comments