add pass path to config

This commit is contained in:
dvogt23
2018-04-27 12:09:53 +02:00
parent b98da3612d
commit fa01ff5c46
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -25,6 +25,9 @@ func (o *GlobalOptions) keyName() string {
}
if o.PasswordSource.Value == "pass" {
if o.PasswordPath.Value != "" {
return fmt.Sprintf("%s/%s", o.PasswordPath, user)
}
return fmt.Sprintf("GoJira/%s", user)
}
return user