mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-28 00:21:07 +01:00
c7f3e0632b
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. |
||
---|---|---|
.. | ||
debug.go | ||
namespaces.go | ||
nodes.go | ||
preauthkeys.go | ||
root.go | ||
routes.go | ||
server.go | ||
utils.go | ||
version.go |