diff --git a/src/main/java/com/fpghoti/biscuit/util/PermUtil.java b/src/main/java/com/fpghoti/biscuit/util/PermUtil.java index 0da54ec..8c20742 100644 --- a/src/main/java/com/fpghoti/biscuit/util/PermUtil.java +++ b/src/main/java/com/fpghoti/biscuit/util/PermUtil.java @@ -18,7 +18,7 @@ public class PermUtil { return true; }else{ for(Role role : member.getRoles()){ - if(role.getName().equalsIgnoreCase("bouncerkey")){ + if(role.getName().equalsIgnoreCase("biscuit-key")){ return true; } } @@ -42,7 +42,7 @@ public class PermUtil { return true; }else{ for(Role role : member.getRoles()){ - if(role.getName().equalsIgnoreCase("bouncerkey")){ + if(role.getName().equalsIgnoreCase("biscuit-key")){ return true; } }