Added another default reason

This commit is contained in:
delvh 2020-02-08 09:17:11 +01:00
parent a006dd4dc8
commit d7eb2d904c

View File

@ -32,6 +32,13 @@ public class HandshakeRejectionEvent implements Event<String> {
*/
public static final String USER_DOES_NOT_EXIST = "user does not exist";
/**
* Select this value if a given {@link LoginCredentials} with
* {@link LoginCredentials#isRegistration()}==true points at an already existing
* user
*/
public static final String USER_EXISTS_ALREADY = "user can not be created as he already exists";
/**
* Select this value if an unknown error occurred
*/