Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Démarches Simplifiées
Vagrant DEV for Démarches-Simplifiées
Commits
b4e5d0a3
Commit
b4e5d0a3
authored
Dec 07, 2021
by
Fabrice Gangler
🎨
Browse files
FEAT: disable OTP for super-admin
parent
4e9fee3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/default.pp
View file @
b4e5d0a3
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment