Subversion Repositories SmartDukaan

Rev

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

Rev 25946 Rev 26021
Line 347... Line 347...
347
		} catch (ProfitMandiBusinessException profitMandiBusinessException) {
347
		} catch (ProfitMandiBusinessException profitMandiBusinessException) {
348
			LOGGER.error("Error : ", profitMandiBusinessException);
348
			LOGGER.error("Error : ", profitMandiBusinessException);
349
			model.addAttribute("response",
349
			model.addAttribute("response",
350
					mvcResponseSender.createResponseString(profitMandiBusinessException.getCode(), false, "/error"));
350
					mvcResponseSender.createResponseString(profitMandiBusinessException.getCode(), false, "/error"));
351
			return "response";
351
			return "response";
-
 
352
		} catch (Exception e) {
-
 
353
			model.addAttribute("response",
-
 
354
					mvcResponseSender.createResponseString("You are not authorised! "
-
 
355
							+ "Please contact the team if you feel this is incorrect", false, "/error"));
-
 
356
			return "response";
352
		}
357
		}
353
	}
358
	}
354
 
359
 
355
	@PostMapping(value = "/forgetPassword")
360
	@PostMapping(value = "/forgetPassword")
356
	public String forgetPasswordPage(
361
	public String forgetPasswordPage(