1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00
juanfont.headscale/cmd/headscale/cli
Ward Vandewege c7f3e0632b When creating a preauthkey, the default expiration was passed through as
a nil value, instead of the default value (1h). This resulted in the
preauthkey being created with expiration key '0001-01-01 00:00:00',
which meant the key would not work, because it was already expired.

This commit applies the default expiration time (1h) when a preauthkey
is created without a specific expiration. It also updates an integration
test to make sure this bug does not reoccur.
2021-11-26 10:04:26 -05:00
..
debug.go
namespaces.go Get rid of dynamic errors 2021-11-15 19:18:14 +00:00
nodes.go Use uint64 straight instead of converting 2021-11-22 17:22:22 +00:00
preauthkeys.go When creating a preauthkey, the default expiration was passed through as 2021-11-26 10:04:26 -05:00
root.go
routes.go
server.go
utils.go Remove expiry logic, this needs to be redone 2021-11-19 09:02:49 +00:00
version.go