Last active
April 2, 2020 09:14
-
-
Save erikhansen/c9fbbe3a693fca1abd1e6b66e07afe7b to your computer and use it in GitHub Desktop.
Magento 2 Local Site Configurations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set admin login to 6 days | |
bin/magento -q config:set admin/security/session_lifetime 518400 | |
# Allow admin logins to be bookmarked | |
bin/magento -q config:set admin/security/use_form_key 0 | |
# Set customer login to 4 hours | |
bin/magento -q config:set web/cookie/cookie_lifetime 14400 | |
# Misc dev settings | |
bin/magento -q config:set dev/css/merge_css_files 0 | |
bin/magento -q config:set dev/js/merge_files 0 | |
bin/magento -q config:set dev/js/enable_js_bundling 0 | |
bin/magento -q config:set dev/static/sign 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment