]> WPIA git - gigi.git/commitdiff
Merge "chg: reword error message to match conditions"
authorBenny Baumann <BenBE1987@gmx.net>
Thu, 8 Feb 2018 19:05:42 +0000 (20:05 +0100)
committerGerrit Code Review <gigi-system@dogcraft.de>
Thu, 8 Feb 2018 19:05:42 +0000 (20:05 +0100)
src/club/wpia/gigi/pages/orga/AffiliationForm.java

index 278e38b7d56b2364d51e30b97191cfffcb46f23a..1fd1c010ff09eb102f23263aba1a610500e06638 100644 (file)
@@ -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);