So I've set Django's built-in password reset feature(?) in my project. Everything works fine, except redirection in /password_reset_complete page. The custom login url in my project is /login, but the CTA button in /password_reset_complete page is linked to /accounts/login , which causes error apparently.
How do I change the CTA link in password_reset_complete page? Thanks
CodePudding user response:
you should set LOGIN_URL in your settings.py
LOGIN_URL = 'login' #login here is the name of the url not the url itself
