Skip to content

Commit

Permalink
la fonctionnalité de déconnexion
Browse files Browse the repository at this point in the history
  • Loading branch information
abirbenzaamia committed Jan 15, 2022
1 parent 8eb66c3 commit ee5c9b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions WebContent/WEB-INF/jsps/loggedout.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
Logged out.
</body>
</html>
4 changes: 4 additions & 0 deletions src/main/java/com/telly/controllers/UserController.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ public class UserController {
public String showLogin() {
return "login";
}
@RequestMapping("/loggedout")
public String showLogout() {
return "loggedout";
}
}

0 comments on commit ee5c9b0

Please sign in to comment.