remove the use key stripping and store the proper keys (#1603)

This commit is contained in:
Kristoffer Dalby authored and GitHub committed 2023-11-16 17:55:29 +01:00
1 parent 2af71c9e31
commit c0fd06e3f5
21 files changed
+99 -198

No files matched your search

-6
View File
@@ -48,9 +48,6 @@ func (s *Suite) TestDestroyUserErrors(c *check.C) {
node := types.Node{
ID: 0,
MachineKey: "foo",
NodeKey: "bar",
DiscoKey: "faa",
Hostname: "testnode",
UserID: user.ID,
RegisterMethod: util.RegisterMethodAuthKey,
@@ -103,9 +100,6 @@ func (s *Suite) TestSetMachineUser(c *check.C) {
node := types.Node{
ID: 0,
MachineKey: "foo",
NodeKey: "bar",
DiscoKey: "faa",
Hostname: "testnode",
UserID: oldUser.ID,
RegisterMethod: util.RegisterMethodAuthKey,