Security

Reply
New Contributor
Posts: 4
Registered: ‎02-22-2017

Clearpas Guest Sponsor Confirmation with list specific email address

I am using this syntax for spesific email address at sponsor_email for validation :

 

Validator : isValidEmail

Valid Param : none

Validator Argument :

array (
  'allow' =>
  array (
    0 => 'user1@domain.com',
    1 => 'user2@domain.com',

    2 => 'user3@domain.com',
  ),
  'deny' =>
  array (
  ),
)

 

The result is still failed , any suggestion ? please help

 

Thanks,

Jefri

 

 

MVP
Posts: 978
Registered: ‎04-13-2009

Re: Clearpas Guest Sponsor Confirmation with list specific email address

What happens?

If all emails are still allowed you may need to add * to the deny section:

array (
'allow' =>
array (
0 => 'user1@domain.com',
1 => 'user2@domain.com',
2 => 'user3@domain.com',
),
'deny' =>
array (
0 => '*',
),
)
Cheers
James

-------------------------------------------------------
-------------------@whereisjrw-------------------
------------------------blog-------------------------
ACCX #540 | ACMX #353 | ACDX #216
-----------Mobility First Expert #11----------
-------------------------------------------------------

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Search Airheads
Showing results for 
Search instead for 
Did you mean: