[PR #1920] [MERGED] fix preauth key logging in as previous user #2400

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1920
Author: @kradalby
Created: 5/1/2024
Status: Merged
Merged: 5/2/2024
Merged by: @kradalby

Base: mainHead: kradalby/preauth-user-login


📝 Commits (3)

📊 Changes

3 files changed (+102 additions, -3 deletions)

View changed files

📝 .github/workflows/test-integration.yaml (+1 -0)
📝 hscontrol/auth.go (+6 -3)
📝 integration/cli_test.go (+95 -0)

📄 Description

Fixes #1885

Signed-off-by: Kristoffer Dalby kristoffer@tailscale.com


🔄 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/1920 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 5/1/2024 **Status:** ✅ Merged **Merged:** 5/2/2024 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/preauth-user-login` --- ### 📝 Commits (3) - [`2582f7f`](https://github.com/juanfont/headscale/commit/2582f7f610d2b6ff8bcbdb2b4a2011796949c48e) add test case to reproduce #1885 - [`d16a9a0`](https://github.com/juanfont/headscale/commit/d16a9a0c2600625a4ba94b49c9607f31e42d7a8b) fix preauth key issue logging in as wrong user - [`e32c314`](https://github.com/juanfont/headscale/commit/e32c31438a424afa8e1fdb2a855b362bf580ed75) add test to gh ### 📊 Changes **3 files changed** (+102 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-integration.yaml` (+1 -0) 📝 `hscontrol/auth.go` (+6 -3) 📝 `integration/cli_test.go` (+95 -0) </details> ### 📄 Description Fixes #1885 Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> --- <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 03:21:05 +01:00
adam closed this issue 2025-12-29 03:21: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#2400