Skip to content

Instantly share code, notes, and snippets.

@aleron75
Last active April 15, 2020 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aleron75/1a690384847d7f6c1959ca41d53a4af4 to your computer and use it in GitHub Desktop.
Save aleron75/1a690384847d7f6c1959ca41d53a4af4 to your computer and use it in GitHub Desktop.
Admin session config values for Magento 2 local development environment
<?php
// app/etc/env.php
return [
// ...
'system' => [
'default' => [
'admin' => [
'security' => [
'session_lifetime' => 31536000,
'password_reset_protection_type' => 0,
'use_case_sensitive_login' => 0,
'lockout_failures' => '',
'lockout_threshold' => 180,
'password_lifetime' => '',
'password_is_forced' => 0,
],
],
],
],
// ...
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment