magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

Return the user to the previously opened page after relogin due to expired session #222

Open rafatga opened 7 years ago

rafatga commented 7 years ago

I was adding a new attribute to a configuration product and I had to leave for a while. When I came back and I keep on working my user session expired. When I clicked on the "Create New Attribute" button, the modal opened and asked me to login. After I inserted my credentials rather than allowing me to keep on working it showed me the admin home panel.

Magento ver. 2.1.9

Steps to reproduce

  1. Sign in Admin panel
  2. Go to catalog product
  3. Add a configurable product
  4. Create configuration
  5. WAIT 10 minutes Or delete user session
  6. Create new attribute

Actual result

  1. [Screenshot, logs] step1 step2 step3 step4 step5
magento-engcom-team commented 7 years ago

@hi-rafa, thank you for your report. We've created internal ticket(s) MAGETWO-81316 to track progress on the issue.

rafatga commented 7 years ago

Would it be ok to redirect the user to the Sign in page? This behavior should be apply to all the magento2 admin panel sections where this issue occurs right?

Silarn commented 7 years ago

This is true any time your session expires in Magento 2. Magento 1 - in may cases though not all - could redirect you back to where your session expired. As far as I can tell, Magento 2 does not do that.