I am able to login in admin section, but the problem I am facing is that it logs out after some time.

The admin remains logged in for different time periods.

This is what I have done :

  • Installed a magento 2.1.2 without sample data.
  • Installed some of my modules and I started facing this issues.

I have a lot of modules. So what could possibly be wrong in my modules. How can I track a problem ?

I would like to know possible reasons for this problem. Thanks !


1 Answer 1


You can check the following setting in your admin panel

Stores > Configuration > Advanced > Admin > Security

In Admin Session Lifetime (seconds) change value to 31536000 (One Year).

If you have multiple admins log to your admin panel the change

Admin Account Sharing to Yes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.