Subversion Repositories SmartDukaan

Rev

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

Rev 26449 Rev 26450
Line 138... Line 138...
138
				FofoStore fofoStore = fofoStoreRepository.selectByRetailerId(fofoDetails.getFofoId());
138
				FofoStore fofoStore = fofoStoreRepository.selectByRetailerId(fofoDetails.getFofoId());
139
				if (!fofoStore.isActive()) {
139
				if (!fofoStore.isActive()) {
140
					cookiesProcessor.removeCookies(request, response);
140
					cookiesProcessor.removeCookies(request, response);
141
					throw new ProfitMandiBusinessException("", "", "");
141
					throw new ProfitMandiBusinessException("", "", "");
142
				}
142
				}
-
 
143
				redirectUrl = "/dashboard";
143
 
144
 
144
			} else {
145
			} else {
145
				redirectUrl = "/login";
146
				redirectUrl = "/login";
146
			}
147
			}
147
			return "redirect:" + redirectUrl;
148
			return "redirect:" + redirectUrl;