refactor: rename x-tinyauth-user to remote-user

This commit is contained in:
Stavros
2025-03-09 18:41:20 +02:00
parent 5188089673
commit 631059be69
3 changed files with 3 additions and 3 deletions

View File

@@ -237,7 +237,7 @@ func (api *API) SetupRoutes() {
}
// Set the user header
c.Header("X-Tinyauth-User", userContext.Username)
c.Header("Remote-User", userContext.Username)
// The user is allowed to access the app
c.JSON(200, gin.H{