diff --git a/views.go b/views.go index d1ab204..2633152 100644 --- a/views.go +++ b/views.go @@ -136,9 +136,8 @@ func (app *appContext) InviteProxy(gc *gin.Context) { Password: claims["password"].(string), Code: claims["invite"].(string), } - f, success := app.newUser(req, true) + _, success := app.newUser(req, true) if !success { - f(gc) fail() return }