svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
23 stars 11 forks source link

Redirect to next or LOGIN_REDIRECT_URL after loggin in with django otp #3682

Closed vincevd1 closed 1 month ago

vincevd1 commented 1 month ago

Closes #3680.

Summary

Fixes the issue that users always get redirected to '/' after login

How to test

  1. Go to 'Photos'
  2. You will get redirected to login with a next parameter
  3. Login with your credentials
  4. You are redirected to /members/photos/