diff options
author | jan <jan@ruken.pw> | 2016-11-13 16:57:29 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-11-13 16:57:29 (UTC) |
commit | 3705a683482141481d6e4f1e563bc239fed05514 (patch) | |
tree | f7bcea8d7f9d4e2c64e36f5b171cffa0cfec5071 /main.go | |
parent | 0741b7c8b0e24de234b308c644c38cd94daf3b07 (diff) |
fixieren von userangucken wenn man nicht eingeloggt ist
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 != "" { |