Remove from session error and registerSuccess flags in jsp pages
This commit is contained in:
parent
90bed6d044
commit
d42f4f223f
|
@ -11,6 +11,8 @@
|
|||
<% if (session.getAttribute("error") == null) {
|
||||
String redirectURL = request.getContextPath() + "/error404.jsp";
|
||||
response.sendRedirect(redirectURL);
|
||||
} else if (session.getAttribute("error") != null) {
|
||||
session.removeAttribute("error");
|
||||
}%>
|
||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
||||
<head>
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
<% if (session.getAttribute("registerSuccess") == null) {
|
||||
String redirectURL = request.getContextPath() + "/error404.jsp";
|
||||
response.sendRedirect(redirectURL);
|
||||
} else if (session.getAttribute("registerSuccess") != null) {
|
||||
session.removeAttribute("registerSuccess");
|
||||
}%>
|
||||
<META HTTP-EQUIV=Refresh CONTENT="0.5; URL=http://beta.services.openaire.eu/uoa-user-management/openid_connect_login">
|
||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
||||
|
|
Loading…
Reference in New Issue