mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 04:33:28 +02:00
add pass path to config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user