1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Better index page: non-Kfet members will be redirected to their profile page, the account note (when it will be managed) will see the consumption page

This commit is contained in:
Yohann D'ANELLO
2020-10-07 11:29:52 +02:00
parent b5fa428bad
commit 65a2e8c08c
4 changed files with 35 additions and 5 deletions

View File

@ -245,7 +245,7 @@ REST_FRAMEWORK = {
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
# After login redirect user to transfer page
LOGIN_REDIRECT_URL = '/note/transfer/'
LOGIN_REDIRECT_URL = '/'
# An user session will expired after 3 hours
SESSION_COOKIE_AGE = 60 * 60 * 3