[PR #493] [CLOSED] Refresh expired machine on re-auth - closes #489 #1438

Closed
opened 2025-12-29 02:30:05 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/493
Author: @mevansam
Created: 3/10/2022
Status: Closed

Base: mainHead: appbricks/main-bug-fix


📝 Commits (1)

  • 8b5e8b7 Refresh expired machine on re-auth - closes #489

📊 Changes

1 file changed (+51 additions, -28 deletions)

View changed files

📝 api.go (+51 -28)

📄 Description

This pull request fixes a regression bug where re-authenticating an expired machine (as a result of logout) resulted in a duplicate machine record. The fix simply refreshes the expired machine record to make it current.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/493 **Author:** [@mevansam](https://github.com/mevansam) **Created:** 3/10/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `appbricks/main-bug-fix` --- ### 📝 Commits (1) - [`8b5e8b7`](https://github.com/juanfont/headscale/commit/8b5e8b7dfc2b8915cbb2172a0bdf579bbea5122a) Refresh expired machine on re-auth - closes #489 ### 📊 Changes **1 file changed** (+51 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+51 -28) </details> ### 📄 Description This pull request fixes a regression bug where re-authenticating an expired machine (as a result of logout) resulted in a duplicate machine record. The fix simply refreshes the expired machine record to make it current. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:05 +01:00
adam closed this issue 2025-12-29 02:30:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1438