If I logged in admin side by chrome.then if when I logged-in successfully in Mozilla for same magento instance in magento2.1 then I automatically log out in chrome and throw message Someone logged into this account from another device or browser. Your current session is terminated.

Why does this happen in Magento 2.1?

  • Yes this is for Security Proposed if one user login than other User Login with same id than your current session is terminated.
    – Nikul
    Jul 5, 2016 at 9:22
  • Refer this emagentosupport.com/2018/12/… May be help. Dec 9, 2018 at 12:38

4 Answers 4


To disable this feature go to

Stores > Configuration > Advance > Admin > Security


change value of Admin Account Sharing to Yes.


Follow below attached images screenshot to enable admin account sharing options from Magento admin panel. Either way you can go to Magento 2 admin>

Store>> Settings>> Configuration >> Advanced >> Admin >> Security and change ADMIN ACCOUNT SHARING Options to YES

enter image description here


If you prefer to run commands instead of going to admin panel or changing in database:

php bin/magento config:set admin/security/admin_account_sharing 1

Also, you can fire direct SQL query in Database as follows:

update `core_config_data` SET value = 1 where `path` = 'admin_account_sharing' and `scope` = "default"

Your Answer

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

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