HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Require a user to login when they view a page created in a custom plugin

Hi

How do I require a user to login when they view a page?

I am looking for something simillar to  $sender->permission(array(some.permission))

Is there a method like $sender->somethingLikeRequireALogin() ?

Thanks

Comments

Sign In or Register to comment.