Fix initial user ID not being shown in some cases during init

pull/984/head
Jeff Mitchell 5 years ago
parent c63529e020
commit 3b452cb503

@ -326,7 +326,7 @@ func (c *InitCommand) Run(args []string) (retCode int) {
LoginName: c.srv.DevLoginName,
Password: c.srv.DevPassword,
ScopeId: scope.Global.String(),
UserId: c.srv.DevUserId,
UserId: user.PublicId,
UserName: user.Name,
}
switch base.Format(c.UI) {

Loading…
Cancel
Save