Subversion Repositories SmartDukaan

Rev

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

Rev 34785 Rev 34815
Line 374... Line 374...
374
            authService.resetPassword(emailId);
374
            authService.resetPassword(emailId);
375
        } catch (Exception exception){
375
        } catch (Exception exception){
376
            try {
376
            try {
377
                userService.resetPassword(emailId);
377
                userService.resetPassword(emailId);
378
            } catch (Exception e){
378
            } catch (Exception e){
-
 
379
                LOGGER.info("Forgetting password of: [{}] - {}",emailId, e);
379
                throw new ProfitMandiBusinessException("Password Reset Email", emailId, "Could not send password reset mail. Password Could not be reset");
380
                throw new ProfitMandiBusinessException("Password Reset Email", emailId, "Could not send password reset mail. Password Could not be reset");
380
            }
381
            }
381
        }
382
        }
382
        model.addAttribute("response1", mvcResponseSender.createResponseString(true));
383
        model.addAttribute("response1", mvcResponseSender.createResponseString(true));
383
        LOGGER.info("completed");
384
        LOGGER.info("completed");