Skip to content
Snippets Groups Projects
Commit 351e8a39 authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

No commit message

No commit message
parent b56486c6
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ public class LoginController implements Serializable
logger.debug("Landing page: " + landingPage);
return landingPage;
}
public String displayUsername() {
if (isLoggedIn()) {
return username;
......@@ -150,14 +150,6 @@ public class LoginController implements Serializable
}
}
// public void forwardIfNotLoggedIn() throws IOException {
// if (!loggedIn) {
// ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
// ec.redirect(ec.getRequestContextPath() + "/views/login.");
//
// }
// }
public String displayRole() {
return "User";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment