jazzband / django-two-factor-auth

Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
MIT License
1.71k stars 448 forks source link

Fix support for chaining the next parameter into the setup view. #622

Open cjsoftuk opened 1 year ago

cjsoftuk commented 1 year ago

Description

This branch provides a potential fix for issue #621

Motivation and Context

This solves the issue of the next parameter not being passed across.

How Has This Been Tested?

I have tested this in the application I was having the issue in, and from a user view point it seems to do exactly what I expect. I have not yet built any specific tests for this functionality.

Types of changes

Checklist:

I welcome feedback on the proposed change, and understand that I probably need to build tests for it before anyone is prepared to merge it.