aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-11-13 16:57:29 (UTC)
committerjan <jan@ruken.pw>2016-11-13 16:57:29 (UTC)
commit3705a683482141481d6e4f1e563bc239fed05514 (patch)
treef7bcea8d7f9d4e2c64e36f5b171cffa0cfec5071 /main.go
parent0741b7c8b0e24de234b308c644c38cd94daf3b07 (diff)
fixieren von userangucken wenn man nicht eingeloggt ist
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 240ca1a..dd00a9b 100644
--- a/main.go
+++ b/main.go
@@ -63,7 +63,9 @@ func main() {
63 } 63 }
64 } 64 }
65 65
66 renderer := frontend.New("views") 66 functions := charakterin.GetRendererFunctions()
67
68 renderer := frontend.New("views", functions)
67 login := charakterin.New(db) 69 login := charakterin.New(db)
68 login.UseRenderer(renderer) 70 login.UseRenderer(renderer)
69 if config.AnilistAPI.ClientID != "" && config.AnilistAPI.ClientSecret != "" { 71 if config.AnilistAPI.ClientID != "" && config.AnilistAPI.ClientSecret != "" {