GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
77 stars 171 forks source link

Adding ACCOUNT_LOGIN_REDIRECT_URL option to seetings.py is not working #413

Open eruiz67 opened 1 year ago

eruiz67 commented 1 year ago

In geonode when an user logs in, it is automatically redirected to the Profile page. I am trying to change that and redirect to the Home (index page). In order to to that I added the following line to the settings.py" in my geonode-project folder. But the user is still redirected to the Profile page when he/she performs the authentication

ACCOUNT_LOGIN_REDIRECT_URL = "/"

I also tried with the following line:

LOGIN_REDIRECT_URL = "/"

Am I doing something wrong? According to the geonode documentation (https://docs.geonode.org/en/master/basic/settings/index.html) the ACCOUNT_LOGIN_REDIRECT_URL "allows specifying the default redirect URL after a successful login.", so why is not working