This commit is contained in:
clementine.desrucques
2021-10-19 09:32:59 +02:00
parent 3823f23fb9
commit afc3a04d20
4 changed files with 5 additions and 5 deletions

View File

@@ -77,9 +77,9 @@ public class authentifServlet extends HttpServlet {
throws ServletException, IOException {
// Création de l'objet leControle de type AuthentifForm
AuthentifForm leControle = new AuthentifForm();
// Appel de la méthode controlerAdmin
// Appel de la méthode controlerRole
boolean isChef = leControle.controlerRole(request);
// Création de 2 attributs de requête (isAdmin et leControle)
// Création de 2 attributs de requête (isChef et leControle)
request.setAttribute("isChef", isChef);
request.setAttribute("controlForm", leControle);
HttpSession maSession = request.getSession();