1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

feat: review comments

This commit is contained in:
Christy Jacob 2021-06-03 19:01:00 +05:30
parent 26c46a2278
commit b954e148b5

View file

@ -63,8 +63,6 @@ App::post('/v1/account')
$whitelistEmails = $project->getAttribute('authWhitelistEmails');
$whitelistIPs = $project->getAttribute('authWhitelistIPs');
var_dump($whitelistEmails);
if (!empty($whitelistEmails) && !\in_array($email, $whitelistEmails)) {
throw new Exception('Console registration is restricted to specific emails. Contact your administrator for more information.', 401);
}