Remove from session expiredVerificationCode and successAddPassword flags
This commit is contained in:
parent
85a582f48b
commit
90bed6d044
|
@ -9,8 +9,10 @@
|
|||
<!DOCTYPE html>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<% if (session.getAttribute("expiredVerificationCode") == null) {
|
||||
String redirectURL = request.getContextPath() + "/error404.jsp";
|
||||
response.sendRedirect(redirectURL);
|
||||
String redirectURL = request.getContextPath() + "/error404.jsp";
|
||||
response.sendRedirect(redirectURL);
|
||||
} else if (session.getAttribute("expiredVerificationCode")!=null) {
|
||||
session.removeAttribute("expiredVerificationCode");
|
||||
}%>
|
||||
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
|
||||
<head>
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
<% if (session.getAttribute("successAddPassword") == null) {
|
||||
String redirectURL = request.getContextPath() + "/error404.jsp";
|
||||
response.sendRedirect(redirectURL);
|
||||
|
||||
} else if (session.getAttribute("successAddPassword")!=null) {
|
||||
session.removeAttribute("successAddPassword");
|
||||
}%>
|
||||
<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