From 612c5077c946fdfc61c39a2cc034f0e4910cf54d Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Thu, 1 Feb 2018 21:57:38 +0100 Subject: [PATCH] chg: reword error message to match conditions Change-Id: I8c7f3c251fa93d0668ec4129b10de05bf95f994c --- src/club/wpia/gigi/pages/orga/AffiliationForm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/club/wpia/gigi/pages/orga/AffiliationForm.java b/src/club/wpia/gigi/pages/orga/AffiliationForm.java index 278e38b7..1fd1c010 100644 --- a/src/club/wpia/gigi/pages/orga/AffiliationForm.java +++ b/src/club/wpia/gigi/pages/orga/AffiliationForm.java @@ -39,7 +39,7 @@ public class AffiliationForm extends Form { } else if (req.getParameter("do_affiliate") != null) { User byEmail = User.getByEmail(req.getParameter("email")); if (byEmail == null) { - throw new GigiApiException("To add an admin, the email address is required."); + throw new GigiApiException("To add an admin, the email address needs to be known to the system."); } if (byEmail.canVerify()) { o.addAdmin(byEmail, LoginPage.getUser(req), req.getParameter("master") != null); -- 2.39.2