Skip to content

Commit

Permalink
Merge pull request #11 from therealpaulgg/setup-b
Browse files Browse the repository at this point in the history
push
  • Loading branch information
therealpaulgg authored Sep 11, 2023
2 parents 622cfc8 + 548dba3 commit 9970599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/web/live/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func NewMachineChallengeHandler(i *do.Injector, r *http.Request, w http.Response
log.Err(err).Msg("Error getting machine by name and user")
return
}
machine = models.Machine{}
machine = &models.Machine{}
machine.Name = userMachine.Data.MachineName
machine.UserID = user.ID
// We are in an acceptable state, generate a challenge
Expand Down

0 comments on commit 9970599

Please sign in to comment.