Subversion Repositories SmartDukaan

Rev

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

Rev 30559 Rev 30560
Line 261... Line 261...
261
		if (userInfo.getUserId() > -1) {
261
		if (userInfo.getUserId() > -1) {
262
			user = userRepository.selectById(userInfo.getUserId());
262
			user = userRepository.selectById(userInfo.getUserId());
263
			LOGGER.info("userinfo7 {}", user);
263
			LOGGER.info("userinfo7 {}", user);
264
			String city = user.getCity();
264
			String city = user.getCity();
265
 
265
 
266
			if (!(userInfo.getEmail() == null || user.getEmailId().equalsIgnoreCase(userInfo.getEmail()))) {
266
			if (!(userInfo.getEmail() == null || user.getEmailId().indexOf("@smartdukaan.com") == -1)) {
267
				String userName = null;
267
				String userName = null;
268
				LOGGER.info("userinfo2 {}", userInfo);
268
				LOGGER.info("userinfo2 {}", userInfo);
269
				if (user.getSecondryEmailId() != null && user.getSecondryEmailId().equals(userInfo.getEmail())) {
269
				if (user.getSecondryEmailId() != null && user.getSecondryEmailId().equals(userInfo.getEmail())) {
270
 
270
 
271
					LOGGER.info("userinfo3 {}", user);
271
					LOGGER.info("userinfo3 {}", user);