Fixed the user experience
This commit is contained in:
parent
fcaf315549
commit
fea33a456a
5 changed files with 12 additions and 6 deletions
|
@ -23,6 +23,7 @@ import javax.servlet.http.HttpServletRequest;
|
|||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import com.mysql.cj.api.x.core.Warning;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
|
@ -354,8 +355,10 @@ public class Authenticate extends VitroHttpServlet {
|
|||
return;
|
||||
}
|
||||
else {
|
||||
user.setPasswordChangeRequired(true);
|
||||
user.setMd5Password("");
|
||||
user.setPasswordChangeRequired(true);
|
||||
user.setMd5Password("");
|
||||
bean.setMessage(request, ERROR,
|
||||
"password_system_has_changed");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue