From f4cee56db1be32410326ec85cf07ddc00239dbdd Mon Sep 17 00:00:00 2001 From: thmsdy Date: Mon, 1 Jun 2020 00:19:03 -0500 Subject: [PATCH] Update biscuit-key --- src/main/java/com/fpghoti/biscuit/util/PermUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }