소스 검색

command auth should use user flag

if the user flag is provided auth should attempt to authenticate with
that user.
pull/36/head
Rob Loranger 4 년 전
부모
커밋
6dbf4f98cd
No known key found for this signature in database GPG 키 ID: D6F1633A4F0903B8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      commands/commands.go

+ 3
- 0
commands/commands.go 파일 보기

@@ -358,6 +358,9 @@ func CmdClaim(c *cli.Context) error {

func CmdAuth(c *cli.Context) error {
username := c.Args().Get(0)
if username == "" && c.GlobalIsSet("user") {
username = c.GlobalString("user")
}
// Check configuration
u, err := config.LoadUser(c)
if err != nil {


불러오는 중...
취소
저장