X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fclub%2Fwpia%2Fgigi%2Fpages%2Fadmin%2Fsupport%2FSupportEnterTicketPage.java;h=3db0881bbb80a19368f8a188bef6c66cedcd6b4f;hb=47459b4c744dc5e3d7eda51e6af98aff09679505;hp=14b1faafc62a7afcd7ed5d43538c836fd94c370e;hpb=7c9a443cdc81dfc8129f898d510e13bccc558ee0;p=gigi.git diff --git a/src/club/wpia/gigi/pages/admin/support/SupportEnterTicketPage.java b/src/club/wpia/gigi/pages/admin/support/SupportEnterTicketPage.java index 14b1faaf..3db0881b 100644 --- a/src/club/wpia/gigi/pages/admin/support/SupportEnterTicketPage.java +++ b/src/club/wpia/gigi/pages/admin/support/SupportEnterTicketPage.java @@ -47,7 +47,7 @@ public class SupportEnterTicketPage extends Page { @Override public boolean isPermitted(AuthorizationContext ac) { - return ac != null && ac.isInGroup(Group.SUPPORTER) && ac.isStronglyAuthenticated(); + return ac != null && ac.isInGroup(Group.SUPPORTER) && ac.isStronglyAuthenticated() && ac.getActor().hasValidSupportChallenge(); } }