Commit b4e5d0a3 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FEAT: disable OTP for super-admin

parent 4e9fee3c
......@@ -138,6 +138,13 @@ file_line { 'DB_PASSWORD':
match => '^DB_PASSWORD="tps_development"',
require => File["$_ds_project_directory/.env"],
}
file_line { 'SUPER_ADMIN_OTP_DISABLED':
ensure => present,
path => "$_ds_project_directory/.env",
line => 'SUPER_ADMIN_OTP_ENABLED="disabled" # "enabled" par défaut',
match => '^# Clé de chiffrement OTP, pour 2FA',
require => File["$_ds_project_directory/.env"],
}
# Modification of bin/setup file.
# As we already created the DB we don't need to recreate it.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment