Add password as a config entry type

This commit is contained in:
Isaac Connor 2021-12-29 10:04:43 -05:00
parent c3d2d5cdf6
commit e10aa3e60e
1 changed files with 6 additions and 0 deletions

View File

@ -162,6 +162,12 @@ our %types = (
pattern => qr|^([a-zA-Z0-9_.-]+)\@([a-zA-Z0-9_.-]+)$|,
format => q( $1\@$2 )
},
password => {
db_type => 'string',
hint => 'password',
pattern => qr|^(.+)$|,
format => q($1)
},
timezone => {
db_type => 'string',
hint => 'America/Toronto',