Skip to content

Commit

Permalink
change LOGIN_REDIRECT_URL to index (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Feb 13, 2024
1 parent f104b6c commit bfe1dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `admin_email` help text in `copier.yml` updated to be more clear that it's the destination for emails sent to Admins. This is primarily only used in the `templates/.well-known/security.txt` file at the moment.
- All HTML templates in `src/django_twc_project/templates` have been formatted using djLint.
- Add missing `django-tailwind-cli` build command in CI/CD test job.
- Redirect after login to "index" view instead of non-existent "dashboard" view.

### Removed

Expand Down
2 changes: 1 addition & 1 deletion src/django_twc_project/{{ module_name }}/settings.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ ACCOUNT_UNIQUE_EMAIL = True

ACCOUNT_USERNAME_REQUIRED = False

LOGIN_REDIRECT_URL = "dashboard"
LOGIN_REDIRECT_URL = "index"

SOCIALACCOUNT_PROVIDERS = {
"okta": {
Expand Down

0 comments on commit bfe1dc9

Please sign in to comment.