Subversion Repositories SmartDukaan

Rev

Rev 25388 | Rev 26396 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25388 Rev 25954
Line 98... Line 98...
98
				if (emails.isArray()) {
98
				if (emails.isArray()) {
99
					Iterator<JsonNode> emailsIterator = emails.elements();
99
					Iterator<JsonNode> emailsIterator = emails.elements();
100
					if (emailsIterator.hasNext()) {
100
					if (emailsIterator.hasNext()) {
101
						JsonNode email = emailsIterator.next();
101
						JsonNode email = emailsIterator.next();
102
						if (email.has("value")) {
102
						if (email.has("value")) {
103
							if (ProfitMandiConstants.BLOCKED_EMAILS.contains(email.get("value").asText())) {
103
							/*if (ProfitMandiConstants.BLOCKED_EMAILS.contains(email.get("value").asText())) {
104
								throw new ProfitMandiBusinessException("User Account", email.get("value").asText(),
104
								throw new ProfitMandiBusinessException("User Account", email.get("value").asText(),
105
										"User is temporarily suspended.");
105
										"User is temporarily suspended.");
106
							}
106
							}*/
107
							socialUser.setEmailId(email.get("value").asText());
107
							socialUser.setEmailId(email.get("value").asText());
108
						}
108
						}
109
					}
109
					}
110
				}
110
				}
111
				// socialUser.setEmailId(rootNode.get("email").asText());
111
				// socialUser.setEmailId(rootNode.get("email").asText());