From 2d6ce008c6d7a914ac5babc981f1bb5cdcf1203a Mon Sep 17 00:00:00 2001 From: Adhityaa Date: Sun, 3 Jun 2018 17:27:22 +0530 Subject: [PATCH] owner_new: return whether to confirm email --- api/owner_new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/owner_new.go b/api/owner_new.go index 355df3f..85ba088 100644 --- a/api/owner_new.go +++ b/api/owner_new.go @@ -79,5 +79,5 @@ func ownerNewHandler(w http.ResponseWriter, r *http.Request) { return } - writeBody(w, response{"success": true}) + writeBody(w, response{"success": true, "confirmEmail": smtpConfigured}) }