Ver código fonte
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 anos atrás
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: D6F1633A4F0903B8
1 arquivos alterados com
3 adições e
0 exclusões
-
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 { |
|
|
|