File: /home/nepi/www/migrations/upgrades/20200129100037_update_login_attempt_value.php
<?php
use Phinx\Migration\AbstractMigration;
class UpdateLoginAttemptValue extends AbstractMigration
{
public function change()
{
// -------------------------------------------------------------------------
// Update Login Attempts Allowed Value
// -------------------------------------------------------------------------
$this->execute(\Directus\phinx_update(
$this->getAdapter(),
'directus_settings',
['value' => 25],
['key' => 'login_attempts_allowed']
));
}
}