Add file type to be able to filter out special characters in passwords

This commit is contained in:
Benjamin Bohard 2019-08-13 15:42:57 +02:00
parent 8dc65d7fa3
commit fa4207f4fe
1 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,9 @@ createscript: "/usr/share/eole/db/syspass/gen/0_eole-syspass.sql"
sqlscripts: ["/usr/share/eole/db/syspass/gen/dbstructure.sql"]
updatescripts: []
pwd_files:
- {file: '%%container_path_web/var/www/html/syspass/app/config/config.php',
pattern: " 'dbpass' => '",
- {file: '%%container_path_web/var/www/html/syspass/app/config/config.xml',
type: 'xml',
pattern: " <dbPass>",
end_pattern: "</dbPass>",
owner: 'www-data:www-data',
mod: '540'}
mod: '700'}