Subversion Repositories SmartDukaan

Rev

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

Rev 11808 Rev 11918
Line 78... Line 78...
78
	}
78
	}
79
 
79
 
80
	public String create() throws SecurityException, Exception {
80
	public String create() throws SecurityException, Exception {
81
		if (loginUser()) {
81
		if (loginUser()) {
82
			log.info("Will redirect the user to:" + redirectUrl);
82
			log.info("Will redirect the user to:" + redirectUrl);
-
 
83
/*			if(userinfo.isPrivateDealUser()){
-
 
84
				addActionMessage("PrivateDealUser");
-
 
85
			}*/
83
            return "redirect";
86
            return "redirect";
84
		} else {
87
		} else {
85
			addActionError(UserMessage.USER_AUTHENTICATION_FAILURE);
88
			addActionError(UserMessage.USER_AUTHENTICATION_FAILURE);
86
            DataLogger.logData(EventType.LOGIN_FAILED, getSessionId(), userinfo.getUserId(), this.request.getParameter("email"));
89
            DataLogger.logData(EventType.LOGIN_FAILED, getSessionId(), userinfo.getUserId(), this.request.getParameter("email"));
87
			return "login";
90
			return "login";