diff --git a/pkg/controller/account/inner_circle.go b/pkg/controller/account/inner_circle.go index 94f5748..14f8e54 100644 --- a/pkg/controller/account/inner_circle.go +++ b/pkg/controller/account/inner_circle.go @@ -3,6 +3,7 @@ package account import ( "net/http" + "code.nonshy.com/nonshy/website/pkg/log" "code.nonshy.com/nonshy/website/pkg/models" "code.nonshy.com/nonshy/website/pkg/session" "code.nonshy.com/nonshy/website/pkg/templates" @@ -72,6 +73,8 @@ func InviteCircle() http.HandlerFunc { session.FlashError(w, r, "Couldn't add to the inner circle: %s", err) } + log.Info("InnerCircle: %s adds %s to the inner circle", currentUser.Username, user.Username) + session.Flash(w, r, "%s has been added to the inner circle!", user.Username) templates.Redirect(w, "/photo/u/"+user.Username) return