Skip to content

Commit

Permalink
Ensure users are redirected to the homepage on login
Browse files Browse the repository at this point in the history
  • Loading branch information
RealOrangeOne committed Apr 11, 2024
1 parent 1adcb1f commit b3280a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpdesk/helpdesk/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
# Authentication URLs
LOGIN_URL = f"/{BASE_PATH}auth/login/"
LOGOUT_REDIRECT_URL = LOGIN_URL
LOGIN_REDIRECT_URL = BASE_PATH

# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
Expand Down

0 comments on commit b3280a8

Please sign in to comment.