Skip to content
Snippets Groups Projects
Commit 2a95df7c authored by Lars Maronde's avatar Lars Maronde
Browse files

Merge branch 'main' into dev-frontend

parents a30c4e73 452f3796
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ public class AuthenticationController {
}
//check if the user is related to the apotheke if yes he is authorized to see the data
Benutzer b = benutzerRepo.getBenutzerWithApotheke(username, apothekeId);
return b != null || isAdmin();
return b != null;// || isAdmin();
}
private boolean isAdmin() {
......
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