aboutsummaryrefslogtreecommitdiff
path: root/dashboard.go
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2015-12-27 20:29:50 (UTC)
committerjan <jan@ruken.pw>2015-12-27 20:29:50 (UTC)
commit0746d945a61ca3dc7588a1f7a2c320ca8a06e198 (patch)
tree0e05e25e640d2e13fee39a713f2373649b5732f4 /dashboard.go
parentccf10c8d425b28c75cb9ce66c50c943f8825b783 (diff)
dashboard auch für nicht eingeloggte benutzer
Diffstat (limited to 'dashboard.go')
-rw-r--r--dashboard.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/dashboard.go b/dashboard.go
index 63dcdfc..0ca38ef 100644
--- a/dashboard.go
+++ b/dashboard.go
@@ -7,11 +7,7 @@ import (
7) 7)
8 8
9func viewDashboard(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { 9func viewDashboard(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
10 user, err := app.Charakterin.GetUserFromRequest(r) 10 user, _ := app.Charakterin.GetUserFromRequest(r)
11 if err != nil {
12 http.Redirect(w, r, "/", 302)
13 return
14 }
15 11
16 var categories []grilist.DashboardCategory 12 var categories []grilist.DashboardCategory
17 13