summaryrefslogtreecommitdiff
path: root/pkg/webui/login.go
diff options
context:
space:
mode:
authorJulien Dessaux2025-01-22 00:46:49 +0100
committerJulien Dessaux2025-01-22 00:46:49 +0100
commit09885ef1e4b7610d05377596f02d08c5079c0434 (patch)
tree9c8322ea718f1eb721a4c685cb95386fa84bb797 /pkg/webui/login.go
parentchore(webui): refactor login and session middleware handling (diff)
downloadtfstated-09885ef1e4b7610d05377596f02d08c5079c0434.tar.gz
tfstated-09885ef1e4b7610d05377596f02d08c5079c0434.tar.bz2
tfstated-09885ef1e4b7610d05377596f02d08c5079c0434.zip
feat(webui): implement states list
Diffstat (limited to '')
-rw-r--r--pkg/webui/login.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/webui/login.go b/pkg/webui/login.go
index fda227a..8444e2c 100644
--- a/pkg/webui/login.go
+++ b/pkg/webui/login.go
@@ -24,7 +24,7 @@ func handleLoginGET() http.Handler {
session := r.Context().Value(model.SessionContextKey{})
if session != nil {
- http.Redirect(w, r, "/", http.StatusFound)
+ http.Redirect(w, r, "/states", http.StatusFound)
return
}