From: INOPIAE Date: Thu, 1 Feb 2018 20:57:38 +0000 (+0100) Subject: chg: reword error message to match conditions X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=612c5077c946fdfc61c39a2cc034f0e4910cf54d chg: reword error message to match conditions Change-Id: I8c7f3c251fa93d0668ec4129b10de05bf95f994c --- 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);