atk4 / login

Add-on implementing User Login, Registration, Management and Password
https://agiletoolkit.org
MIT License
26 stars 22 forks source link

Sticky parameters lost after login #79

Closed mkrecek234 closed 2 years ago

mkrecek234 commented 2 years ago

Steps to reproduce:

Desired behaviour:

Checked to be still an issue in most recent develop and 3.0 releases

mvorisek commented 2 years ago

I think this is about remembering the full URL before redirect

mvorisek commented 2 years ago

mkrecek

Desired behaviour: - All sticky parameters/ all parameters are kept also after authentication or after editing Preferences menu.

mvorisek so you want to return to the original URL incl. query string, right?

mkrecek Yes - use case: a user is logged on the system and has opened any page (including any parameters) - he passes the link to another non-logged-in user - when he opens it, he should see the login screen (works in atk4/login), login and then views the correct page.

mvorisek commented 2 years ago

Steps to reproduce:

  1. assume no user is logged in (or log out)
  2. open demos/acl-clients.php?parameter=whatever
  3. log in
  4. notice the URL is not the one from step 1.