wisski-cloud-distillery/internal/config/password.go
2022-09-12 11:15:52 +02:00

8 lines
269 B
Go

package config
import "github.com/FAU-CDI/wisski-distillery/internal/password"
// NewPassword returns a new password using the password settings from this configuration
func (cfg Config) NewPassword() (string, error) {
return password.Password(cfg.PasswordLength)
}