From 5a9182f688d02364cb52b19fdaf56969c0190590 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 23 Sep 2019 10:44:23 -0400 Subject: [PATCH] Tweak "already invited" message Ref T690 --- invites.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invites.go b/invites.go index 3e19d7e..4e1f5fa 100644 --- a/invites.go +++ b/invites.go @@ -126,7 +126,7 @@ func handleViewInvite(app *App, w http.ResponseWriter, r *http.Request) error { // check if invite belongs to another user // error can be ignored as not important in this case if ownInvite, _ := app.db.IsUsersInvite(inviteCode, u.ID); !ownInvite { - addSessionFlash(app, w, r, "No need for an invite, You are already registered.", nil) + addSessionFlash(app, w, r, "You're already registered and logged in.", nil) // show homepage return impart.HTTPError{http.StatusFound, "/me/settings"} }