summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/platform/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/platform/user.go b/cmd/platform/user.go
index fa93e418c..41f0b4f66 100644
--- a/cmd/platform/user.go
+++ b/cmd/platform/user.go
@@ -422,6 +422,7 @@ func verifyUserCmdF(cmd *cobra.Command, args []string) error {
for i, user := range users {
if user == nil {
CommandPrintErrorln("Unable to find user '" + args[i] + "'")
+ continue
}
if cresult := <-app.Srv.Store.User().VerifyEmail(user.Id); cresult.Err != nil {
CommandPrintErrorln("Unable to verify '" + args[i] + "' email. Error: " + cresult.Err.Error())