From 44c66564f58e4e109f79c327665b765e2d27eba5 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Tue, 17 Oct 2023 10:39:46 -0400 Subject: [PATCH] add spam folder warning --- CHANGELOG.md | 2 ++ cmd/zrok/invite.go | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4aed252a..1c38b4d6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ CHANGE: Tweaks to build and release process for logging and deprecations. Pin go CHANGE: Improvements to email invitation sent in response to `zrok invite` to correct broken links, some minor HTML issues and improve overall deliverability (https://github.com/openziti/zrok/issues/405) +CHANGE: Added warning message after `zrok invite` submit directing the user to check their "spam" folder if they do not receive the invite message. + # v0.4.7 FEATURE: OAuth authentication with the ability to restrict authenticated users to specified domains for `zrok share public`. Supports both Google and GitHub authentication in this version. More authentication providers, and extensibility to come in future `zrok` releases. See the OAuth configuration guide at `docs/guides/self-hosting/oauth/configuring-oauth.md` for details (https://github.com/openziti/zrok/issues/45, https://github.com/openziti/zrok/issues/404) diff --git a/cmd/zrok/invite.go b/cmd/zrok/invite.go index 0695474f7..86375257e 100644 --- a/cmd/zrok/invite.go +++ b/cmd/zrok/invite.go @@ -89,7 +89,8 @@ func (cmd *inviteCommand) run(_ *cobra.Command, _ []string) { tui.Error("error creating invitation", err) } - fmt.Printf("invitation sent to '%v'!\n", email) + fmt.Printf("invitation sent to '%v'!\n\n", email) + fmt.Printf(fmt.Sprintf("%v\n\n", tui.Attention.Render("*** be sure to check your SPAM folder if you do not receive the invitation email!"))) } }