[#171] change proposed PasswordPath to PasswordName

This commit is contained in:
Cory Bennett
2018-05-25 21:50:28 -07:00
parent fa01ff5c46
commit 213a7e04af
2 changed files with 47 additions and 12 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ func (o *GlobalOptions) keyName() string {
}
if o.PasswordSource.Value == "pass" {
if o.PasswordPath.Value != "" {
return fmt.Sprintf("%s/%s", o.PasswordPath, user)
if o.PasswordName.Value != "" {
return o.PasswordName.Value
}
return fmt.Sprintf("GoJira/%s", user)
}