Open new tab when logging in via extension

This commit is contained in:
2017-11-16 22:09:50 +01:00
parent 1182c6b760
commit f29079ea8d
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ func Get(ctx *aero.Context) string {
user := utils.GetUser(ctx)
if user == nil {
return utils.AllowEmbed(ctx, ctx.HTML(components.Login()))
return utils.AllowEmbed(ctx, ctx.HTML(components.Login("_blank")))
}
if !user.IsPro() && user.TimeSinceRegistered() > 14*24*time.Hour {