We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa1eb74 + 05d0a36 commit 07966feCopy full SHA for 07966fe
bin/magento-install
@@ -71,8 +71,12 @@ ${DOCKER_BIN_DIRECTORY}/magento deploy:mode:set developer
71
# Two factor authentication is enabled by default since version 2.4.0
72
${DOCKER_BIN_DIRECTORY}/magento module:disable Magento_TwoFactorAuth
73
74
+# Set session admin lifetime for one year
75
+${DOCKER_BIN_DIRECTORY}/magento config:set admin/security/session_lifetime 31535999
76
+
77
# Set SMTP host
78
${DOCKER_BIN_DIRECTORY}/magento config:set system/smtp/host mailhog
79
80
# Set SMTP port
81
${DOCKER_BIN_DIRECTORY}/magento config:set system/smtp/port 1025
82
echo "Mailhog has been configured."
0 commit comments