Subversion Repositories SmartDukaan

Rev

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

Rev 22533 Rev 22860
Line 83... Line 83...
83
			return "login";
83
			return "login";
84
		}
84
		}
85
	}
85
	}
86
	@RequestMapping(value = "/", method = RequestMethod.GET)
86
	@RequestMapping(value = "/", method = RequestMethod.GET)
87
	public String home(){
87
	public String home(){
88
		return "redirect:/	login";
88
		return "redirect:/login";
89
	}
89
	}
90
	
90
	
91
	@RequestMapping(value = "/login", method = RequestMethod.POST)
91
	@RequestMapping(value = "/login", method = RequestMethod.POST)
92
	public String login(HttpServletRequest request, HttpServletResponse response, @RequestParam(name = ProfitMandiConstants.TOKEN) String token, Model model) throws Exception{
92
	public String login(HttpServletRequest request, HttpServletResponse response, @RequestParam(name = ProfitMandiConstants.TOKEN) String token, Model model) throws Exception{
93
		LoginDetails fofoDetails = new LoginDetails();
93
		LoginDetails fofoDetails = new LoginDetails();