internal/config/template: Cleanup
This commit cleans up the internal/config/template to remove code no longer used because of the new configuration.
This commit is contained in:
parent
aa3580c248
commit
2edd0f2fe2
7 changed files with 66 additions and 69 deletions
|
|
@ -9,5 +9,5 @@ import (
|
|||
|
||||
// NewPassword returns a new password using the password settings from this configuration
|
||||
func (cfg Config) NewPassword() (string, error) {
|
||||
return password.Generate(rand.Reader, cfg.PasswordLength, passwordx.Charset)
|
||||
return password.Generate(rand.Reader, cfg.PasswordLength, passwordx.Safe)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue