aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.go b/main.go
index dacdfe1..6dec94c 100644
--- a/main.go
+++ b/main.go
@@ -19,12 +19,6 @@ import (
19var app *grilist.Grilist 19var app *grilist.Grilist
20 20
21func index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { 21func index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
22 _, err := app.Charakterin.GetUserFromRequest(r)
23 if err != nil {
24 http.Redirect(w, r, "/login", 302)
25 return
26 }
27
28 http.Redirect(w, r, "/dashboard", 302) 22 http.Redirect(w, r, "/dashboard", 302)
29} 23}
30 24