Fixed embed error

This commit is contained in:
Eduard Urbach 2017-06-25 18:10:42 +02:00
parent c1d84aef2f
commit 092ba2ef0a

View File

@ -14,7 +14,7 @@ func Get(ctx *aero.Context) string {
user := utils.GetUser(ctx) user := utils.GetUser(ctx)
if user == nil { if user == nil {
return ctx.HTML(components.Login()) return utils.AllowEmbed(ctx, ctx.HTML(components.Login()))
} }
animeList := user.AnimeList() animeList := user.AnimeList()