Welcome Guest, Not a member yet? Register   Sign In
How to use regex in filters
#1

I need to accept the filter without all uri except in auth.

PHP Code:
public $filters = [
 
'jwtauth' => [
 
'before' => ['api/v1/*'], //all but auth
 
],
 ]; 


I tried some combinations and I couldn't
Reply
#2

Hello.
Explain more. Give some context.
Reply
#3

This may help you out.

stack overflow - A regular expression to exclude a word/string
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

thanks, i will try some things
Reply




Theme © iAndrew 2016 - Forum software by © MyBB