Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic bug in allowed_email() #80

Closed
lanjelot opened this issue Mar 2, 2017 · 1 comment
Closed

Logic bug in allowed_email() #80

lanjelot opened this issue Mar 2, 2017 · 1 comment

Comments

@lanjelot
Copy link

lanjelot commented Mar 2, 2017

Hey,

There is a logic bug in allowed_email() that prevents email rules from actually being enforced.

If email does not match any rule then email will be allowed because $allowedEmail is initialized to true.

@Nakiami
Copy link
Owner

Nakiami commented Mar 4, 2017

Hi, this is intended behavior. Default action is to allow email. If you want default action to be deny, you can add a rule for that in the console.

@Nakiami Nakiami closed this as completed Mar 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants