From 37f8a3ac4e9170b7ec3a605bf2d0c57596de5903 Mon Sep 17 00:00:00 2001 From: Bartha Maxime <231026@umons.ac.be> Date: Sun, 17 Mar 2024 16:25:00 +0100 Subject: [PATCH] removed an unused variable --- .../ovh/herisson/Clyde/EndPoints/ApplicationsController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/main/java/ovh/herisson/Clyde/EndPoints/ApplicationsController.java b/backend/src/main/java/ovh/herisson/Clyde/EndPoints/ApplicationsController.java index a708ec1..f09e92e 100644 --- a/backend/src/main/java/ovh/herisson/Clyde/EndPoints/ApplicationsController.java +++ b/backend/src/main/java/ovh/herisson/Clyde/EndPoints/ApplicationsController.java @@ -54,8 +54,6 @@ public class ApplicationsController { // if authed authorizedApps.add(Applications.Profile); - Role posterRole = user.getRole(); - if (!authServ.isNotIn(new Role[]{Role.Teacher,Role.Student,Role.Admin},token)) { authorizedApps.add(Applications.Msg); authorizedApps.add(Applications.Forum);