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

This commit is contained in:
Jeff Mitchell committed 2021-03-04 21:08:22 -05:00
1 parent c63529e020
commit 3b452cb503
1 file changed
+1 -1
+1 -1
View File
@@ -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) {