Subversion Repositories SmartDukaan

Rev

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

Rev 22085 Rev 22086
Line 55... Line 55...
55
			cookiesProcessor.getCookiesObject(request);
55
			cookiesProcessor.getCookiesObject(request);
56
			LOGGER.info("Request session is already exist, should be redirect to /dashboard");
56
			LOGGER.info("Request session is already exist, should be redirect to /dashboard");
57
			return "redirect:/dashboard";
57
			return "redirect:/dashboard";
58
		}catch(Exception | ProfitMandiBusinessException profitMandiBusinessException){
58
		}catch(Exception | ProfitMandiBusinessException profitMandiBusinessException){
59
			model.addAttribute("googleApiKey", googleApiKey);
59
			model.addAttribute("googleApiKey", googleApiKey);
60
			model.addAttribute("appContextPath", appContextPath);
60
			model.addAttribute("appContextPath", request.getContextPath());
61
			return "login";
61
			return "login";
62
		}
62
		}
63
	}
63
	}
64
	
64
	
65
	@RequestMapping(value = "/login", method = RequestMethod.POST)
65
	@RequestMapping(value = "/login", method = RequestMethod.POST)