semaio / Magento2-ConfigImportExport

Import/Export configuration data in Magento 2 via CLI.
Open Software License 3.0
157 stars 59 forks source link

unregister isSecureArea before registering it #38

Closed mwr closed 4 years ago

mwr commented 4 years ago

Please make sure these boxes are checked before submitting your PR - thank you!

Issue

Command fails with "isSecureArea is already set"

Proposed changes

Check if registry already has the key isSecureArea. If it does have it and it is not true, remove it from the registry and set it.