diff options
| author | rtz12 <koenig@fagott.pw> | 2015-12-28 18:56:47 (UTC) |
|---|---|---|
| committer | rtz12 <koenig@fagott.pw> | 2015-12-28 18:56:47 (UTC) |
| commit | eb03000339859fc3b5869cb8906f1e4f1022a52e (patch) | |
| tree | b238d003268dfb9c93dfa80635ad8263cb67b2b8 /dashboard.go | |
| parent | 23f73a60a4cf4621dd5951bfe6601a8c154cad07 (diff) | |
| parent | 647c105dadfa58af6cfa80d3f359d43cfa5d5cf2 (diff) | |
Merge branch 'master' of projekte.fagott.pw:grilist
Diffstat (limited to 'dashboard.go')
| -rw-r--r-- | dashboard.go | 6 |
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 | ||
| 9 | func viewDashboard(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { | 9 | func 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 | ||
