diff options
author | Vitaly Takmazov | 2018-09-20 09:43:25 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-20 09:43:44 +0300 |
commit | 645fac47b98e57ca1cf891493811e4db6770ba49 (patch) | |
tree | e3380febd22793862bf33f05c1287f3bf9e2497a /juick-server/src/main/java | |
parent | 898780b29fc45ad9ce5ca414af17e0e4d37027fb (diff) |
do not allow to add first jid
Diffstat (limited to 'juick-server/src/main/java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java b/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java index 6d72aecc..6a4fe063 100644 --- a/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java +++ b/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java @@ -124,7 +124,7 @@ public class SignUp { if (!(type.charAt(0) == 'f' && crosspostService.setFacebookUser(hash, uid)) && !(type.charAt(0) == 'v' && crosspostService.setVKUser(hash, uid)) && !(type.charAt(0) == 'd' && crosspostService.setTelegramUser(hash, uid)) - && !(type.charAt(0) == 'x' && crosspostService.setJIDUser(hash, uid)) + && !(type.charAt(0) == 'x' && userService.getAllJIDs(visitor).size() > 0 && crosspostService.setJIDUser(hash, uid)) && !(type.charAt(0) == 'm' && messengerService.linkMessengerUser(hash, uid))) { if (type.equals("email")) { String email = emailService.getEmailByAuthCode(hash); |