浏览代码

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
找不到此签名对应的密钥 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 {


正在加载...
取消
保存